{"id":"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-16T04:30:19.076454603Z","published":"2022-07-24T19:15:10.097Z","related":["ALSA-2023:2216","SUSE-SU-2022:2995-1","SUSE-SU-2022:2996-1","openSUSE-SU-2024:12222-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR/"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2022/07/25/1"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5228"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2022/07/23/1"},{"type":"REPORT","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190"},{"type":"FIX","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2"},{"type":"FIX","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512"},{"type":"EVIDENCE","url":"https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md"},{"type":"EVIDENCE","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.gnome.org/GNOME/gdk-pixbuf","events":[{"introduced":"0"},{"fixed":"bca00032ad68d0b0aa2c1f7558db931e52bd9cd2"},{"introduced":"0"},{"last_affected":"50974e7cc800321d058ce83f928dca55d2f8777c"},{"fixed":"5398f04d772f7f8baf5265715696ed88db0f0512"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"2.42.8"},{"introduced":"0"},{"last_affected":"11.0"}]}}],"versions":["2.21.3","2.21.4","2.21.6","2.21.7","2.22.0","2.22.1","2.23.0","2.23.1","2.23.2","2.23.3","2.23.4","2.23.5","2.24.0","2.25.0","2.25.2","2.26.0","2.26.1","2.26.2","2.26.3","2.26.4","2.26.5","2.27.0","2.27.1","2.27.2","2.27.3","2.28.0","2.29.0","2.29.1","2.29.2","2.29.3","2.30.0","2.30.1","2.30.2","2.30.3","2.30.4","2.30.5","2.30.6","2.30.7","2.30.8","2.31.0","2.31.1","2.31.2","2.31.3","2.31.4","2.31.5","2.31.6","2.31.7","2.32.0","2.32.1","2.33.1","2.33.2","2.34.0","2.35.1","2.35.2","2.35.3","2.35.4","2.35.5","2.36.0","2.36.1","2.36.10","2.36.11","2.36.12","2.36.2","2.36.3","2.36.4","2.36.5","2.36.6","2.36.7","2.36.8","2.36.9","2.37.0","2.37.92","2.38.0","2.39.2","2.40.0","2.42.0","2.42.2","2.42.4","2.42.6","GDK_OBJECT_WITH_PANGO_BRANCHPOINT","GDK_PIXBUF_0_2","GDK_PIXBUF_0_3","GDK_PIXBUF_0_4","GDK_PIXBUF_0_5_0","GDK_PIXBUF_0_6_0","GDK_PIXBUF_0_7_0","GDK_PIXBUF_0_8_0","GTK_0_99_0","GTK_0_99_1","GTK_0_99_10","GTK_0_99_2","GTK_0_99_3","GTK_0_99_4","GTK_0_99_5","GTK_0_99_6","GTK_0_99_7","GTK_0_99_7a","GTK_0_99_8","GTK_0_99_9","GTK_1_0_0","GTK_1_1_0","GTK_1_1_1","GTK_1_1_10","GTK_1_1_11","GTK_1_1_12","GTK_1_1_13","GTK_1_1_14","GTK_1_1_15","GTK_1_1_16","GTK_1_1_2","GTK_1_1_2_MARTIN","GTK_1_1_2a","GTK_1_1_3","GTK_1_1_5","GTK_1_1_6","GTK_1_1_7","GTK_1_1_8","GTK_1_1_9","GTK_1_2_0","GTK_1_3_1","GTK_1_3_10","GTK_1_3_11","GTK_1_3_12","GTK_1_3_13","GTK_1_3_2","GTK_1_3_3","GTK_1_3_4","GTK_1_3_5","GTK_1_3_6","GTK_1_3_7","GTK_1_3_8","GTK_1_3_9","GTK_ALL_1_3_6","GTK_BEFORE_GDK_GOBJECT_MERGE","GTK_HP_PATCHES_BRANCHPOINT","GTK_MULTIHEAD_BRANCHPOINT","GTK_MULTIHEAD_MERGE1","GTK_MULTIHEAD_MERGEPOINT_01_02_02","GTK_MULTIHEAD_MERGEPOINT_03_09_01","GTK_MULTIHEAD_MERGEPOINT_05_02_02","GTK_MULTIHEAD_MERGEPOINT_11_02_02","GTK_MULTIHEAD_MERGEPOINT_22_01_02","GTK_MULTIHEAD_MERGEPOINT_22_10_01","GTK_MULTIHEAD_MERGEPOINT_26_09_01","GTK_MULTIHEAD_MERGEPOINT_30_11_01","GTK_MULTIHEAD_MERGPOINT_03_09_01","GTK_PRE_FLICKER","GTK_PRE_NO_FLICKER","GTK_VERSION_1_1_2","Initial","PIXBUF_0_0","PIXBUF_ENGINE_GTK_1_2","SNAP_19971121","SNAP_19971201","gdk-object-branchpoint","merge-to-themes-2-1","merge-to-themes-2-2","merge-to-themes-2-3","merge-to-themes-2-4","merge-to-themes-2-5","merge-to-themes-2-6","nautilus_ms_may_31","pre-themes-merge","start"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46829.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"35"}]}]}}],"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"}]}