CVE-2021-46829

NameCVE-2021-46829
DescriptionGNOME GdkPixbuf (aka GDK-PixBuf) before 2.42.8 allows a heap-based buffer overflow when compositing or clearing frames in GIF files, as demonstrated by io-gif-animation.c composite_frame. This overflow is controllable and could be abused for code execution, especially on 32-bit systems.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5228-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gdk-pixbuf (PTS)jessie, jessie (lts)2.31.1-2+deb8u10fixed
stretch (security)2.36.5-2+deb9u2fixed
stretch (lts), stretch2.36.5-2+deb9u3fixed
buster, buster (lts)2.38.1+dfsg-1+deb10u1fixed
bullseye2.42.2+dfsg-1+deb11u2fixed
bullseye (security)2.42.2+dfsg-1+deb11u1fixed
bookworm2.42.10+dfsg-1+deb12u1fixed
sid, trixie2.42.12+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gdk-pixbufsourcejessie(not affected)
gdk-pixbufsourcestretch(not affected)
gdk-pixbufsourcebuster(not affected)
gdk-pixbufsourcebullseye2.42.2+dfsg-1+deb11u1DSA-5228-1
gdk-pixbufsource(unstable)2.42.8+dfsg-1

Notes

[buster] - gdk-pixbuf <not-affected> (Vulnerable code not present; GIF animation support added later)
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/6976bdc8ee9dd2c2954f91066f7b0f643769a379 (2.42.8)
https://www.openwall.com/lists/oss-security/2022/07/23/1
http://www.openwall.com/lists/oss-security/2022/07/25/1
[stretch] - gdk-pixbuf <not-affected> (Vulnerable code introduced later)
[jessie] - gdk-pixbuf <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems