cvelo
P2 · HighCVSS 7.8

Gimp: heap-based buffer overflow in the psd merged-image lab path

  • CVE-2026-136328
  • GHSA-4cmq-j8mx-j4r6
  • EUVD-2026-134605

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.

Text from the CVE.org record.

Affected

  • GNOME GIMP

    • from 2.99.8 onwards
  • Red Hat Red Hat Enterprise Linux 10

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 6

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 7

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 8

    • No versions listed
  • Red Hat Red Hat Enterprise Linux 9

    • from 2:3.0.4-8.el9_9.8 onwards: not affected

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.