Bug 2577036

Summary: CVE-2026-133007 gimp: gimp: uninitialized stack disclosure in XCF tile loader [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: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jridky, nils, phracek, zdohnal
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["1207c7a0-5cca-460f-9a78-2260a0bd8df1"]}
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: 2576541    

Description Srikanth Balasubramanian 2026-11-19 16:10:59 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 GIMP XCF loader. xcf_load_tile() allocates an uninitialized stack buffer with g_alloca() and ignores the short-read return value from xcf_read_int8() / xcf_read_component(). A crafted truncated uncompressed XCF tile can cause leftover main-process stack memory to be stored as layer pixels. The leaked bytes are readable via the pixel API and survive PNG export. Testing showed disclosure of live GIMP and library addresses. Code execution was not demonstrated.