CVE-2026-78465

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.
References
Link Resource
https://access.redhat.com/security/cve/CVE-2026-78465 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2522057 Issue Tracking Vendor Advisory
https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578 Issue Tracking Vendor Advisory Exploit Mitigation
https://gitlab.gnome.org/GNOME/gimp/-/work_items/16578 Issue Tracking Vendor Advisory Exploit Mitigation
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gimp:gimp:*:*:*:*:*:*:*:*
cpe:2.3:a:gimp:gimp:3.3.1:*:*:*:*:*:*:*

History

14 Oct 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Se encontró una falla en el plugin file-pcx en GIMP, que afecta solo a las compilaciones de 32 bits. Al procesar un archivo de imagen PCX, el plugin calcula los tamaños de asignación de memoria basándose en las dimensiones de la imagen y el número de planos de color. Si un archivo manipulado establece el número de planos en 4 junto con dimensiones suficientemente gryes, el cálculo excede el límite de entero de 32 bits y se desborda, lo que resulta en una asignación de búfer basada en montículo de tamaño insuficiente. Este problema de desbordamiento de entero resulta en un desbordamiento de búfer basado en montículo cuando el plugin escribe posteriormente datos de imagen en el búfer de tamaño insuficiente, causando corrupción de memoria, lo que podría conducir a la ejecución de código arbitrario o a una denegación de servicio.

Information

Published : 2026-08-24 17:18

Updated : 2026-10-14 13:10


NVD link : CVE-2026-78465

Mitre link : CVE-2026-78465

CVE.ORG link : CVE-2026-78465


JSON object : View

Products Affected

gimp

  • gimp
CWE
CWE-190

Integer Overflow or Wraparound