#1145875 gimp: CVE-2026-78465

#1145875#5
Date:
2026-08-27 12:51:29 UTC
From:
To:
Hi,

The following vulnerability was published for gimp.

CVE-2026-78465[0]:
| A flaw was found in the file-pcx plugin in GIMP, affecting 32-bit
| builds only. When processing a PCX image file, the plugin calculates
| memory allocation sizes based on the image dimensions and the number
| of color planes. If a crafted file sets the number of planes to 4
| alongside sufficiently large dimensions, the calculation exceeds the
| 32-bit integer limit and overflows, resulting in an undersized heap-
| based buffer allocation. This integer overflow issue results in a
| heap-based buffer overflow when the plugin subsequently writes image
| data into the undersized buffer, causing memory corruption,
| potentially leading to arbitrary code execution or a denial of
| service.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-78465
https://www.cve.org/CVERecord?id=CVE-2026-78465
[1] https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578
[2] https://gitlab.gnome.org/GNOME/gimp/-/commit/56e580c43a2de9c0005f57018013998999535e4d

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore