CVE-2026-42170CWE-131

CVE-2026-42170

High · published August 8, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
8.4
In the wild
Unconfirmed
What it is

A heap-based buffer overflow vulnerability exists in the GIMP DDS (DirectDraw Surface) file parser. When a crafted DDS file declares a D3D9 pixel format but sets a lower bits-per-pixel (bpp) value in the header, the loader allocates an undersized heap buffer. Subsequent pixel data consumption at the real format's stride causes a write past the heap buffer boundary, leading to heap metadata corruption and potential code execution.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00192 · 8.4th percentile
Weakness
CWE-131 · Incorrect Calculation of Buffer Size
Published
2026-08-08T20:16Z
Affected products (4)
ProductVersionsFixed in
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
redhat/enterprise_linuxall versions—
References (2)
EPSS history
Timeline
  • 08 AUG 15:51Z
    Gimp: gimp dds plug-in heap-based buffer overflow via bpp mismatch in load_layer() (ddsread.c)
    cvelistv5