CVE-2021-46829 json
GNOME GdkPixbuf (aka GDK-PixBuf) before 2.42.8 allows a heap-based buffer overflow when compositing or clearing frames in GIF files, as dem…
published 2022-07-24 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-33484
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 56%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gnome gdk-pixbuf 2.42.8
- gdk-pixbuf Debian 14, Debian 13, Debian 12 2.42.8+dfsg-1
debian advisories DEBIAN-CVE-2021-46829
- gdk-pixbuf Ubuntu 20.04 LTS 2.40.0+dfsg-3ubuntu0.3
ubuntu advisories UBUNTU-CVE-2021-46829
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gdk-pixbuf2 RHEL 9 2.42.6-3.el9
- gdk-pixbuf2-modules RHEL 9 2.42.6-3.el9
red hat advisories RHSA-2023:2216
- gdk-pixbuf SLE Module for Desktop Applications 15 SP3, SLE Module for Basesystem 15 SP3, SLE Micro 5.2 +2 more 2.40.0-150200.3.6.1
- gdk-pixbuf SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 2.42.8-150400.5.3.1
suse advisories SUSE-SU-2022:2996-1SUSE-SU-2022:2995-1
- gdk-pixbuf openSUSE Tumbleweed 2.42.8-2.1
opensuse advisories openSUSE-SU-2024:12222-1
- gdk-pixbuf2 AlmaLinux 9 2.42.6-3.el9
- gdk-pixbuf2-modules AlmaLinux 9 2.42.6-3.el9
almalinux advisories ALSA-2023:2216
- gdk-pixbuf2 Arch Linux 2.42.8-1
arch linux advisories AVG-2786
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-46829 updated cvss 7.8
gdk-pixbuf: heap-based buffer overflow when compositing or clearing frames in GIF files
-
Red Hat Enterprise Linux AppStream (v. 9) gdk-pixbuf2 2.42.6-3.el9, gdk-pixbuf2-modules 2.42.6-3.el9fixed: vendor fix RHSA-2023:2216
-
Red Hat Enterprise Linux 6 gdk-pixbuf2 Red Hat Enterprise Linux 7 gdk-pixbuf2, gdk-pixbuf2-tests Red Hat Enterprise Linux 8 gdk-pixbuf2, gdk-pixbuf2-xlib, gdk-pixbuf2-modulesnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121 referenced PoC, tagged "exploit" by a source, unverified
- gitlab.gnome.org https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
gitlab.gnome.org
/GNOME/gdk-pixbuf/-/merge_requests/121
exploit, third-party-advisory
-
gitlab.gnome.org
/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2
patch, third-party-advisory
-
gitlab.gnome.org
/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512
patch, third-party-advisory
-
gitlab.gnome.org
/GNOME/gdk-pixbuf/-/issues/190
exploit, issue-tracking, third-party-advisory
-
github.com
/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md
exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR/
vendor-advisory
-
debian.org
/security/2022/dsa-5228
vendor-advisory, third-party-advisory
-
openwall.com
/lists/oss-security/2022/07/23/1
mailing-list, third-party-advisory
-
openwall.com
/lists/oss-security/2022/07/25/1
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-46829
- NVD CVE-2021-46829
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.