# CVE-2026-136328: Gimp: heap-based buffer overflow in the psd merged-image lab path

- 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.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-11-24T19:58:07.232Z
- Modified: 2026-12-01T05:18:36.253Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: redhat

## Description

A flaw was found in the file-psd plugin in GIMP. When processing a specially crafted PSD (Photoshop Document) image file in LAB color mode, the plugin does not properly validate that a fourth channel is present when the transparency flag is set. This mismatch causes the merged-image path to allocate buffers for three components while performing color conversion with four-component formats, resulting in a heap-based buffer overflow. This issue can result in an application crash, leading to a denial of service, or potentially allow for arbitrary code execution.

(As written by CVE List.)

## Affected

- gimp: from 2.99.8 before * (not affected: from 2:3.0.4-8.el9_9.8 before *)
- gimp:2.8/gimp: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:104792> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-136328> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2583381> (issue-tracking)
- <https://gitlab.gnome.org/GNOME/gimp/-/work_items/17002>

## Sources

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

---

Page: https://cve.day/CVE-2026-136328 · Whole record: https://cve.day/CVE-2026-136328.json · Rebuilt by cve.day 2026-12-01T05:32:13.520Z
