# CVE-2026-112257: Gimp: gimp: heap out-of-bounds read/write in psd thumbnail loader (load_resource_1033)

- Severity: High 7.8 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-10-19T21:37:19.467Z
- Modified: 2026-11-25T18:18:46.253Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in GIMP. The PSD thumbnail resource loader performs a BGR-to-RGB channel swap with a fixed 3-byte stride and does not verify that the JPEG thumbnail is RGB. A crafted grayscale PSD thumbnail can cause a heap out-of-bounds read and write in the plug-in process, leading to a crash and potentially arbitrary code execution when the victim browses or opens the file.

(As written by CVE List.)

## Affected

- gimp:2.8: no versions given (not affected: from 8100020261023073604.4c9c024f before *)
- gimp: no versions given (not affected: from 2:3.0.4-4.el9_8.15 before *; from 2:3.0.4-8.el9_9.5 before *)

## References

- <https://access.redhat.com/errata/RHSA-2026:93975> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:95482> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:98495> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-112257> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2555574> (issue-tracking)

## Sources

- CVE List: [CVE-2026-112257](https://www.cve.org/CVERecord?id=CVE-2026-112257), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-112257](https://nvd.nist.gov/vuln/detail/CVE-2026-112257), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-112257 · Whole record: https://cve.day/CVE-2026-112257.json · Rebuilt by cve.day 2026-11-25T23:17:55.227Z
