Via a maliciously crafted pandore or bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer. I have created a PR fixing this: https://github.com/gentoo/gentoo/pull/38411
Based on the referenced pull request upstream this is fixed in 3.4.2.
Adjusting whiteboard status given that there are no stable versions of this package.