Bug 2522057 (CVE-2026-78465) - CVE-2026-78465 gimp: integer overflow in PCX loader (planes=4) leads to heap overflow on 32-bit
Summary: CVE-2026-78465 gimp: integer overflow in PCX loader (planes=4) leads to heap ...
Keywords:
Status: NEW
Alias: CVE-2026-78465
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2522074
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-24 16:22 UTC by OSIDB Bzimport
Modified: 2026-08-24 17:01 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-24 16:22:05 UTC
A flaw was found in the file-pcx plugin in GIMP, affecting all versions on 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.


Note You need to log in before you can comment on or make changes to this bug.