Vulnerability · Published Aug 24, 2026 · Assigned by redhat
CVE-2026-78465Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit
High 7.0
In plain English
A high-severity integer overflow in GIMP from GNOME. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | gimp | no fix listed | DEBIAN-CVE-2026-78465 |
| Debian:13 | gimp | 3.0.4-3+deb13u11 | DEBIAN-CVE-2026-78465 |
| Debian:14 | gimp | 3.2.6-1 | DEBIAN-CVE-2026-78465 |
| Ubuntu:26.04:LTS | gimp | no fix listed | UBUNTU-CVE-2026-78465 |
| Ubuntu:26.10 | gimp | no fix listed | UBUNTU-CVE-2026-78465 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GNOME | GIMP | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
Weakness: CWE-190 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://access.redhat.com/security/cve/CVE-2026-78465 vdb-entry, x_refsource_REDHAT
- RHBZ#2522057 issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578