CVE-2026-42170
JSON

7.8high

Gimp: gimp dds plug-in heap-based buffer overflow via bpp mismatch in load_layer() (ddsread.c)

Severity
7.8high CVSS:3.1 by redhat
Exploit likelihood
0.16% (higher than 5% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

Description

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.

Affected

Product or packageVersionsReported by
gimpNot specifiedCVE List
gimp:2.8/gimpNot specifiedCVE List
redhat enterprise_linux6.0, 7.0, 8.0, 9.0NVD

Classification

CWE-131

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42170 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-42170 changed 2026-11-23Public domain