Bug 2586076 - CVE-2026-138781 gimp: gimp: out-of-bounds read in PSD alpha channel arrays in add_merged_image [fedora-all]
Summary: CVE-2026-138781 gimp: gimp: out-of-bounds read in PSD alpha channel arrays in...
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": ["c7dba9fe-9683-46f3-b705-6...
Depends On:
Blocks: CVE-2026-138781
TreeView+ depends on / blocked
 
Reported: 2026-11-30 11:26 UTC by Srikanth Balasubramanian
Modified: 2026-11-30 11:26 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description Srikanth Balasubramanian 2026-11-30 11:26:56 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 file-psd plugin in GIMP. In add_merged_image(), bounds checks for alpha channel names, IDs, and display info used "<=" instead of "<", allowing an off-by-one out-of-bounds read past alpha_names or alpha_display_info when parsing a crafted PSD. The out-of-bounds pointer-sized value is then used (for example via gimp_channel_new()/strlen() or as a PSDchanneldata pointer passed to gegl_color_duplicate()), which can crash the file-psd plug-in and may allow further memory corruption. Fixed upstream in commit 7a5814cf73a6cde176d1ed9c104504fa18b9c5a3 (Resolves #17021). The fix is on master only; GIMP 3.2.8 and earlier release lines still contain the defective checks.


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