Read the docs

Heap-based buffer overflow in GIMP PSD import plugin

Priority LOW 36CWE-122Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00317 17th percentileScored 2026-11-30
Fix Partial Red Hat: 1 advisoryRed Hat: 1 fixed, 1 without a fix

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

VendorProductAffected versionsFixed inStatusSource
GNOMEGIMP2.99.8 and later—No fix listedCNA
Red HatRed Hat Enterprise Linux 9—2:3.0.4-8.el9_9.8Patch availableCNA
Red HatRed Hat Enterprise Linux 10——No fix listedCNA
Red HatRed Hat Enterprise Linux 6——Not affectedCNA
Red HatRed Hat Enterprise Linux 7——Not affectedCNA
Red HatRed Hat Enterprise Linux 8——Not affectedCNA
  • 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

CPE names CNA · 5

CPEVersionsRoleVendor
cpe:/a:redhat:enterprise_linux:9::appstream9—Red Hat
cpe:/o:redhat:enterprise_linux:1010—Red Hat
cpe:/o:redhat:rhel_els:66—Red Hat
cpe:/o:redhat:rhel_els:77—Red Hat
cpe:/o:redhat:enterprise_linux:88—Red Hat
  • cpe:/a:redhat:enterprise_linux:9::appstream Versions 9 — ·Red Hat
  • cpe:/o:redhat:enterprise_linux:10 Versions 10 — ·Red Hat
  • cpe:/o:redhat:rhel_els:6 Versions 6 — ·Red Hat
  • cpe:/o:redhat:rhel_els:7 Versions 7 — ·Red Hat
  • cpe:/o:redhat:enterprise_linux:8 Versions 8 — ·Red Hat

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 Important
    gimp 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 →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo 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

  1. 2026-11-24 Threatist record created from CVE-2026-136328
  2. 2026-11-24 Alias added: GHSA-4cmq-j8mx-j4r6
  3. 2026-11-25 Affected versions changed · Red Hat
  4. 2026-11-25 CVSS score added · Red Hat
  5. 2026-11-25 Affected versions changed · CNA
  6. 2026-11-30 CISA SSVC decision points changed
  7. 2026-12-01 Fix available: gimp@2:3.0.4-8.el9_9.8 · CNA
  8. 2026-12-01 1 new reference · CNA
  9. 2026-12-01 Fix available: RHSA-2026:104792 · Red Hat
  10. 2026-12-01 Fix available: Red Hat Enterprise Linux AppStream (v. 9) · Red Hat

References

  • 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
See all 417 →

Sources