Bug 2590051 (CVE-2026-143879) - CVE-2026-143879 gimp: gimp: heap-based buffer overflow in PSP loader when reading uncompressed selection
Summary: CVE-2026-143879 gimp: gimp: heap-based buffer overflow in PSP loader when rea...
Keywords:
Status: NEW
Alias: CVE-2026-143879
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: 2590052
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 10:32 UTC by OSIDB Bzimport
Modified: 2026-12-03 10:35 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 10:32:11 UTC
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.