Bug 2590052 - CVE-2026-143879 gimp: gimp: heap-based buffer overflow in PSP loader when reading uncompressed selection [fedora-all]
Summary: CVE-2026-143879 gimp: gimp: heap-based buffer overflow in PSP loader when rea...
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": ["f79f67b5-82ec-4453-91cc-d...
Depends On:
Blocks: CVE-2026-143879
TreeView+ depends on / blocked
 
Reported: 2026-12-03 10:35 UTC by Srikanth Balasubramanian
Modified: 2026-12-03 10:35 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-12-03 10:35:03 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 heap-based buffer overflow flaw was found in GIMP's PSP (Paint Shop Pro) file loader. In read_selection_block(), the selection pixel buffer is allocated from the selection drawable (canvas) dimensions, but the uncompressed path still reads width * height bytes taken from the selection rectangle fields in the file via fread(). A specially crafted .psp/.pspimage file that declares an uncompressed selection larger than the canvas can overflow the heap buffer with attacker-controlled length and content. This is a regression introduced by the fix for CVE-2026-90949 and affects GIMP 3.2.8. Opening a malicious PSP file in GIMP can lead to a crash or arbitrary code execution in the context of the user running GIMP.


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