CVE-2026-78465

Name
CVE-2026-78465
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
secalert@redhat.com https://access.redhat.com/security/cve/CVE-2026-78465
secalert@redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2522057
secalert@redhat.com https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:* gimp >= 3.0.0 <= 3.2.4
cpe:2.3:a:gimp:gimp:3.3.1:*:*:*:*:*:*:* gimp == None == 3.3.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gimp edge-community 3.2.4-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.2.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.2.0-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.0.4-r1 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.0.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.0.2-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp edge-community 3.0.0-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gimp 3.24-community 3.2.4-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable