{"id":"UBUNTU-CVE-2021-46829","details":"GNOME 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.","modified":"2026-04-22T13:05:06.158594Z","published":"2022-07-24T19:15:00Z","related":["USN-5554-1"],"upstream":["CVE-2021-46829"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-46829"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2022/07/25/1"},{"type":"REPORT","url":"https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5554-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-46829"}],"affected":[{"package":{"name":"gdk-pixbuf","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/gdk-pixbuf@2.40.0+dfsg-3ubuntu0.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40.0+dfsg-3ubuntu0.3"}]}],"versions":["2.40.0+dfsg-1build1","2.40.0+dfsg-1ubuntu1","2.40.0+dfsg-2","2.40.0+dfsg-3","2.40.0+dfsg-3ubuntu0.1","2.40.0+dfsg-3ubuntu0.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"gir1.2-gdkpixbuf-2.0","binary_version":"2.40.0+dfsg-3ubuntu0.3"},{"binary_name":"libgdk-pixbuf2.0-0","binary_version":"2.40.0+dfsg-3ubuntu0.3"},{"binary_name":"libgdk-pixbuf2.0-bin","binary_version":"2.40.0+dfsg-3ubuntu0.3"},{"binary_name":"libgdk-pixbuf2.0-common","binary_version":"2.40.0+dfsg-3ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-46829.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}