Skip to main content
Menu
CVEs

Red Hat Enterprise Linux remote code execution in GIMP's PSD plugin

Affects GIMP's PSD import on Red Hat Enterprise Linux 6, 7, 8, 9 and 10. No fixed version or patch id is listed.

CVE-2026-136328Published November 24, 2026, updated

7.8HighCNA
Exploited
No known exploitation
Fix
See vendor advisory
Who is exposed
Specific setups only

Summary

GIMP's PSD plugin in Red Hat Enterprise Linux has a heap-based buffer overflow when it opens a specially crafted PSD image in LAB color mode. A local attacker who gets a user to open such a file, without needing to log in, can crash the application or possibly run arbitrary code.

Written by a model

Original 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.

Who should check

Teams running GIMP on Red Hat Enterprise Linux that open PSD files, especially from untrusted sources, across RHEL 6 through 10

“A flaw was found in the file-psd plugin in GIMP.”

access.redhat.com

What to do

  1. Check whether your setup matches what the bug needs.

    GIMP processes a PSD file declaring LAB color mode with three channels and the transparency flag set, without a fourth channel The PSD has a negative header layer count and a nested layer-info resource (Lr16 or Lr32) that fails to parse A user opens the specially crafted PSD file with GIMP
  2. Workaround: Do not open PSD files from untrusted sources with GIMP.

Check your systems with an agent

Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.

Check whether my systems are affected by CVE-2026-136328 (Gimp: heap-based buffer overflow in the psd merged-image lab path), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-136328 (entry last updated 2026-11-24):
Affected:
- Red Hat Red Hat Enterprise Linux 10: version range not reported
- Red Hat Red Hat Enterprise Linux 6: version range not reported
- Red Hat Red Hat Enterprise Linux 7: version range not reported
- Red Hat Red Hat Enterprise Linux 8: version range not reported
- Red Hat Red Hat Enterprise Linux 9: version range not reported
Fixed versions: none listed yet.
Conditions (all must be true for the bug to be hit):
- GIMP processes a PSD file declaring LAB color mode with three channels and the transparency flag set, without a fourth channel (source: https://gitlab.gnome.org/GNOME/gimp/-/work_items/17002)
- The PSD has a negative header layer count and a nested layer-info resource (Lr16 or Lr32) that fails to parse (source: https://gitlab.gnome.org/GNOME/gimp/-/work_items/17002)
- A user opens the specially crafted PSD file with GIMP (source: https://access.redhat.com/security/cve/cve-2026-136328)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
Workaround: Do not open PSD files from untrusted sources with GIMP. (source: https://www.cve.org/CVERecord?id=CVE-2026-136328)
CISA KEV: CVE-2026-136328 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-136328 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://bugzilla.redhat.com/show_bug.cgi?id=2583381
- https://access.redhat.com/security/cve/CVE-2026-136328
- https://gitlab.gnome.org/GNOME/gimp/-/work_items/17002
- https://www.cve.org/CVERecord?id=CVE-2026-136328
- https://access.redhat.com/security/cve/cve-2026-136328
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-136328
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-136328"}.

Affected versions

cve.now Index

28Pof 100 · provisional · methodology v3
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure5/25Specific setups only
  • Reach10/20Shipped in major Linux distributions
  • Severity7.8/10CVSS 7.8
  • No patch5/5No fixed version listed; see vendor advisory

What would change the score

  • Would score about 78 if added to CISA KEV
  • Would score about 73 if CISA's SSVC rates exploitation active
  • Would score about 38 if CISA's SSVC rates it automatable

Timeline

  1. CVE published
  2. First seen by cve.now

Evidence 5

KindSource
CVE record 2Establishes: The identifier and description.
RecordCVE List · CVE-2026-136328
RecordNVD · CVE-2026-136328
Write-ups 1Establishes: Technical detail and context.
Reportbugzilla.redhat.com · show_bug.cgi?id=2583381
Other links 2
Linkaccess.redhat.com · security/cve/CVE-2026-136328
Linkgitlab.gnome.org · GNOME/gimp/-/work_items/17002

Questions about CVE-2026-136328

Is CVE-2026-136328 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: cve.now feed data

What does this mean?

A heap-based buffer overflow in GIMP's PSD merged-image LAB path can crash the application, causing denial of service, or potentially allow arbitrary code execution.

Source: gitlab.gnome.org, access.redhat.com, cve.org

Am I affected, and how do I check?

Red Hat Enterprise Linux 6, 7, 8, 9 and 10 are listed, with no version ranges given. The triggering file is a PSD declaring LAB color mode with three channels and the transparency flag set, or one with a negative header layer count and a nested Lr16 or Lr32 layer-info resource that fails to parse.

Source: gitlab.gnome.org, access.redhat.com, cve.org

How do I fix CVE-2026-136328?

No fixed version or patch id is named for this issue. The vendor's stated mitigation is to avoid opening PSD files from untrusted sources with GIMP.

Source: gitlab.gnome.org, access.redhat.com, cve.org

What if there's no patch?

Do not open PSD files from untrusted sources with GIMP, since a user must open a specially crafted PSD file for the flaw to be reached.

Source: gitlab.gnome.org, access.redhat.com, cve.org

No corrections so far. Something wrong on this page? Report an error.