Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gimp | Gimp | >= 3.0.0, <= 3.2.4 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2026-78465Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2522057Issue TrackingVendor Advisory
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578Issue TrackingVendor AdvisoryExploit
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578Issue TrackingVendor AdvisoryExploit
FAQ
What is CVE-2026-78465?
CVE-2026-78465 is a vulnerability with a CVSS score of 7.0 (HIGH). 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 num...
How severe is CVE-2026-78465?
CVE-2026-78465 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-78465?
Check the references section above for vendor advisories and patch information. Affected products include: Gimp Gimp.