Bug 2555574 (CVE-2026-112257) - CVE-2026-112257 gimp: gimp: heap out-of-bounds read/write in PSD thumbnail loader (load_resource_1033)
Summary: CVE-2026-112257 gimp: gimp: heap out-of-bounds read/write in PSD thumbnail lo...
Keywords:
Status: NEW
Alias: CVE-2026-112257
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: 2555575 2555576
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-19 13:33 UTC by OSIDB Bzimport
Modified: 2026-10-19 13:38 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-19 13:33:55 UTC
A flaw was found in the GIMP PSD plug-in thumbnail loader. When a PSD embeds a grayscale JPEG thumbnail, the BGR-to-RGB swap in load_resource_1033() uses a hard-coded 3-byte stride without checking the JPEG component count, reading and writing past the heap buffer. The overflow length is controlled by the file. This can be triggered during thumbnail generation in the file chooser, without fully opening the image. This is distinct from CVE-2026-92248 (thumbnail allocation integer overflow).


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