CVE-2026-2049

NameCVE-2026-2049
DescriptionGIMP HDR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GIMP. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of HDR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-28618.
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)
ReferencesDLA-4487-1, DSA-6142-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gegl (PTS)bullseye1:0.4.26-2vulnerable
bullseye (security)1:0.4.26-2+deb11u2fixed
bookworm, bookworm (security)1:0.4.42-2+deb12u2fixed
trixie (security), trixie1:0.4.62-2+deb13u2fixed
forky, sid1:0.4.70-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
geglsourcebullseye1:0.4.26-2+deb11u2DLA-4487-1
geglsourcebookworm1:0.4.42-2+deb12u2DSA-6142-1
geglsourcetrixie1:0.4.62-2+deb13u2DSA-6142-1
geglsource(unstable)1:0.4.66-1

Notes

https://gitlab.gnome.org/GNOME/gegl/-/issues/450
https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/241
Fixed by: https://gitlab.gnome.org/GNOME/gegl/-/commit/d32f1badb4bde1d6e8137f687d9ee1195768d4ed
Same fix as for CVE-2026-2050 (main tracked upstream, considered duplicate)

Search for package or bug name: Reporting problems