Bug 2522074 - CVE-2026-78465 gimp: integer overflow in PCX loader (planes=4) leads to heap overflow on 32-bit [fedora-all]
Summary: CVE-2026-78465 gimp: integer overflow in PCX loader (planes=4) leads to heap ...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: gimp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Nils Philippsen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["64201987-01e5-4ed2-a15d-4...
Depends On:
Blocks: CVE-2026-78465
TreeView+ depends on / blocked
 
Reported: 2026-08-24 17:01 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-10-06 01:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-08-24 17:01:10 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Fedora Admin user for bugzilla script actions 2026-10-06 01:27:37 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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