Vulnerabilities

CVE-2026-78465

High 7.0 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-08-24
Last modified
2026-11-23
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored by
secalert@redhat.com
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Gimp Gimp 3.3.1 Affected
Gimp Gimp ≥ 3.0.0, ≤ 3.2.4 Affected

Weakness type

  • 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 i…

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities