Bug 2590052

Summary: CVE-2026-143879 gimp: gimp: heap-based buffer overflow in PSP loader when reading uncompressed selection [fedora-all]
Product: [Fedora] Fedora Reporter: Srikanth Balasubramanian <sbalasub>
Component: gimpAssignee: Nils Philippsen <nils>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: jridky, nils, phracek, zdohnal
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["f79f67b5-82ec-4453-91cc-d4b0c09a5c7b"]}
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2590051    

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.