Heap-based buffer overflow in GIMP PSD import plugin
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
GNOME GIMP from 2.99.8 contains a heap-based buffer overflow (CWE-122) in its file-psd plugin. When a crafted PSD file in LAB color mode has the transparency flag set without a fourth channel, the merged-image path allocates buffers for three components but converts four-component data. An attacker who gets a user to open such a file can crash GIMP or possibly run arbitrary code.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| GNOME | GIMP | 2.99.8 and later | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 9 | — | 2:3.0.4-8.el9_9.8 | Patch available | CNA |
| Red Hat | Red Hat Enterprise Linux 10 | — | — | No fix listed | CNA |
| Red Hat | Red Hat Enterprise Linux 6 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 7 | — | — | Not affected | CNA |
| Red Hat | Red Hat Enterprise Linux 8 | — | — | Not affected | CNA |
- GIMP VendorGNOME Affected 2.99.8 and later Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 9 VendorRed Hat Affected — Fixed in 2:3.0.4-8.el9_9.8 Patch available CNA
- Red Hat Enterprise Linux 10 VendorRed Hat Affected — Fixed in — No fix listed CNA
- Red Hat Enterprise Linux 6 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 7 VendorRed Hat Affected — Fixed in — Not affected CNA
- Red Hat Enterprise Linux 8 VendorRed Hat Affected — Fixed in — Not affected CNA
Remediation
The sources list no fixed version for GIMP. Red Hat Enterprise Linux 9 is fixed in 2:3.0.4-8.el9_9.8 by RHSA-2026:104792. Red Hat lists Red Hat Enterprise Linux 10 as affected with no plan available, and Red Hat Enterprise Linux 6, 7 and 8 are not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Red Hat 1 advisory
- RHSA-2026:104792 Released 2026-12-01 · Red Hat rating Importantgimp security update
- Red Hat Enterprise Linux AppStream (v. 9) gimp-2:3.0.4-8.el9_9.8, gimp-libs-2:3.0.4-8.el9_9.8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:104792 |
Not affected: 3 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-11-24 Threatist record created from CVE-2026-136328
- 2026-11-24 Alias added: GHSA-4cmq-j8mx-j4r6
- 2026-11-25 Affected versions changed · Red Hat
- 2026-11-25 CVSS score added · Red Hat
- 2026-11-25 Affected versions changed · CNA
- 2026-11-30 CISA SSVC decision points changed
- 2026-12-01 Fix available: gimp@2:3.0.4-8.el9_9.8 · CNA
- 2026-12-01 1 new reference · CNA
- 2026-12-01 Fix available: RHSA-2026:104792 · Red Hat
- 2026-12-01 Fix available: Red Hat Enterprise Linux AppStream (v. 9) · Red Hat
References
More GNOME vulnerabilities
- TI-2023-23091 Gnome-maps: gnome maps is vulnerable to a code injection attack (similar to xss) via its service.json CVSS 3.1CRITICAL 9.8
- TI-2026-41775 Glib: off-by-one error in glib/gkeyfile.c via "g_key_file_get_locale_string_list" CVSS 3.1HIGH 8.6
- TI-2026-41772 Glib: out-of-bounds read in glib/gdatetime.c:g_date_time_get_ymd via invalid gdatetime CVSS 3.1HIGH 7.5
- TI-2026-03716 Libsoup: libsoup: denial of service via use-after-free in http/2 server CVSS 3.1HIGH 7.5
- TI-2024-28393 Integer overflow in GNOME G Structured File Library CVSS 3.1HIGH 8.4
- TI-2024-24253 Integer overflow in GNOME G Structured File Library CVSS 3.1HIGH 8.4
Sources
- CVE-2026-136328 · CVE Program
- CVE-2026-136328 · NVD
- FIRST EPSS
- GHSA-4cmq-j8mx-j4r6 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-136328 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences