7

CVE-2026-78465

Exploit

Gimp: integer overflow in pcx loader (planes=4) leads to heap overflow on 32-bit

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Gimp ≫ Gimp Version >= 3.0.0 <= 3.2.4
Gimp ≫ Gimp Version 3.3.1
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.14% 0.033
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
RedHat 7 1 5.9
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-190 Integer Overflow or Wraparound

The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.

https://access.redhat.com/security/cve/CVE-2026-78465
Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2522057
Vendor Advisory
Issue Tracking
https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578
Vendor Advisory
Exploit
Issue Tracking
Mitigation