CVE-2026-42170

high
Assigned by CNA: redhat
Published 2026-08-08 · Modified 2026-08-08
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4 NEW
not yet in upstream
VIR risk
7.8

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.

Predictions

Exploit likelihood
75%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-42170 NameCVE-2026-42170 SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) Vulnerable and fixed packages The table below lists information on source packages. Source PackageReleaseVersionStatus gimp (PTS)bullseye2.10.22-4+deb11u2vulnerable bullseye…

CVE-2026-42170

NameCVE-2026-42170
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gimp (PTS)bullseye2.10.22-4+deb11u2vulnerable
bullseye (security)2.10.22-4+deb11u8vulnerable
bookworm, bookworm (security)2.10.34-1+deb12u10vulnerable
trixie3.0.4-3+deb13u9vulnerable
trixie (security)3.0.4-3+deb13u8vulnerable
forky, sid3.2.4-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gimpsource(unstable)3.2.4-1

Notes

https://gitlab.gnome.org/GNOME/gimp/-/work_items/16161
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2758
Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/7dff816fbd58fe17456405f19db332ef5d2a44a0 (GIMP_3_2_4)

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://gitlab.gnome.org/GNOME/gimp/-/work_items/16161https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/2758Fixed by: https://gitlab.gnome.org/GNOME/gimp/-/commit/7dff816fbd58fe17456405f19db332ef5d2a44a0 (GIMP_3_2_4)

OS impact

debian Debian Mixed 5 releases
VersionStatusFixed in
trixie Affected
sid Fixed 3.2.4-1
forky Fixed 3.2.4-1
bullseye Affected
bookworm Affected

References

CWEs

CWE-131

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.