Bug 2563921

Summary: CVE-2026-119528 gimp: gimp: stack buffer overflow in PSD image resource header 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: high Docs Contact:
Priority: high    
Version: rawhideCC: jridky, nils, phracek, zdohnal
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["85139288-d11a-4e1d-aca1-f6be57a89e83"]}
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: 2563900    

Description Srikanth Balasubramanian 2026-10-30 11:18:25 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 GIMP. The PSD image resource header loader in get_image_resource_header() incorrectly passes the length of a converted resource name string as the destination size argument to g_strlcpy() when copying into a fixed 256-byte stack buffer. Because gimp_any_to_utf8() can expand the Pascal-string payload (for example under a single-byte locale), the copy can write past the end of the stack buffer. Opening a crafted PSD file can cause a stack-based buffer overflow in the file-psd plug-in, leading to a crash and potentially arbitrary code execution.