CVE-2021-46829
GNOME GdkPixbuf (aka GDK-PixBuf) before 2.42.8 allows a heap-based buffer overflow when...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2021-46829- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-190
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-46829- Updated
- 2026-11-02
EUVDEUVD-2021-33484 No score
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.
- Record
EUVD-2021-33484- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-xq3g-5rhc-pxgj
7.8
GNOME GdkPixbuf (aka GDK-PixBuf) before 2.42.8 allows a heap-based buffer overflow when...
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.
- Record
GHSA-xq3g-5rhc-pxgj- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVBELL-CVE-2021-46829
7.8
CVE-2021-46829 does not affect BellSoft software
- Record
BELL-CVE-2021-46829- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2021-46829- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-04
Show 11 moreShow less
OSVDEBIAN-CVE-2021-46829
7.8
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.
- Record
DEBIAN-CVE-2021-46829- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2022-1873
7.8
gdk-pixbuf2 security update
gdk is written in C but has been designed from the ground up to support a wide range of languages. It provide a complete set of widgets,and suitable for projects ranging from small one-off tools to complete application suites.
Security Fix(es):
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.(CVE-2021-46829)
- Record
OESA-2022-1873- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2022-1874
7.8
gdk-pixbuf2 security update
gdk is written in C but has been designed from the ground up to support a wide range of languages. It provide a complete set of widgets,and suitable for projects ranging from small one-off tools to complete application suites.
Security Fix(es):
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.(CVE-2021-46829)
- Record
OESA-2022-1874- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2023:2216
7.8
Red Hat Security Advisory: gdk-pixbuf2 security update
- Record
RHSA-2023:2216- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-46829
7.8
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.
- Record
UBUNTU-CVE-2021-46829- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVALSA-2023:2216 No score
Moderate: gdk-pixbuf2 security update
The gdk-pixbuf2 packages provide an image loading library that can be extended by loadable modules for new image formats. It is used by toolkits such as GTK+ or clutter.
Security Fix(es):
- gdk-pixbuf: heap-buffer overflow when decoding the lzw compressed stream of image data (CVE-2021-44648)
- gdk-pixbuf: heap-based buffer overflow when compositing or clearing frames in GIF files (CVE-2021-46829)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
- Record
ALSA-2023:2216- Updated
- 2026-11-02
OSVMGASA-2022-0269 No score
Updated gdk-pixbuf2.0 packages fix security vulnerability
It was discovered that gdk-pixbuf contained a buffer overwrite in
io-gif-animation.c composite_frame() exploitable using a crafted GIF
(CVE-2021-46829).
- Record
MGASA-2022-0269- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12222-1 No score
gdk-pixbuf-devel-2.42.8-2.1 on GA media
These are all security issues fixed in the gdk-pixbuf-devel-2.42.8-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12222-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2995-1 No score
Security update for gdk-pixbuf
This update for gdk-pixbuf fixes the following issues:
Update to version 2.42.8, including the following:
- CVE-2021-46829: Fixed a heap-based buffer overflow when compositing or clearing frames in GIF files (bsc#1201826).
- Record
SUSE-SU-2022:2995-1- Updated
- 2026-11-02
OSVSUSE-SU-2022:2996-1 No score
Security update for gdk-pixbuf
This update for gdk-pixbuf fixes the following issues:
- CVE-2021-46829: Fixed overflow when compositing or clearing frames (bsc#1201826).
- Record
SUSE-SU-2022:2996-1- Updated
- 2026-11-02
OSVUSN-5554-1 No score
gdk-pixbuf vulnerability
Pedro Ribeiro discovered that the GDK-PixBuf library did not properly handle certain GIF images. If an user or automated system were tricked into opening a specially crafted GIF file, a remote attacker could use this flaw to cause GDK-PixBuf to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-5554-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
gdk-pixbuf2AlmaLinux:9 From an advisory covering 2 CVEs |
before 2.42.6-3.el9 | 2.42.6-3.el9 |
gdk-pixbuf2-develAlmaLinux:9 From an advisory covering 2 CVEs |
before 2.42.6-3.el9 | 2.42.6-3.el9 |
gdk-pixbuf2-modulesAlmaLinux:9 From an advisory covering 2 CVEs |
before 2.42.6-3.el9 | 2.42.6-3.el9 |
gdk-pixbufDebian:12 |
before 2.42.8+dfsg-1 | 2.42.8+dfsg-1 |
gdk-pixbufDebian:13 |
before 2.42.8+dfsg-1 | 2.42.8+dfsg-1 |
gdk-pixbufDebian:14 |
before 2.42.8+dfsg-1 | 2.42.8+dfsg-1 |
gdk-pixbufDebian:11 From an advisory covering 2 CVEs |
before 2.42.2+dfsg-1+deb11u1, plus listed versions 2.42.2+dfsg-1 |
2.42.2+dfsg-1+deb11u1 |
gdk-pixbuf2.0Mageia:8 |
before 2.42.2-1.1.mga8 | 2.42.2-1.1.mga8 |
gdk-pixbuf2openEuler:20.03-LTS-SP3 |
before 2.40.0-3.oe1 | 2.40.0-3.oe1 |
gdk-pixbuf2openEuler:22.03-LTS |
before 2.42.6-4.oe2203 | 2.42.6-4.oe2203 |
Show 17 moreShow less
| Package | Affected | Fixed |
|---|---|---|
gdk-pixbuf2Red Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-debugsourceRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-develRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-devel-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-modulesRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-modules-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbuf2-tests-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 2 CVEs |
before 0:2.42.6-3.el9 | 0:2.42.6-3.el9 |
gdk-pixbufSUSE:Linux Enterprise Module for Basesystem 15 SP4 |
before 2.42.8-150400.5.3.1 | 2.42.8-150400.5.3.1 |
gdk-pixbufopenSUSE:Leap 15.4 |
before 2.42.8-150400.5.3.1 | 2.42.8-150400.5.3.1 |
gdk-pixbufSUSE:Linux Enterprise Module for Basesystem 15 SP3 |
before 2.40.0-150200.3.6.1 | 2.40.0-150200.3.6.1 |
gdk-pixbufSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 2.40.0-150200.3.6.1 | 2.40.0-150200.3.6.1 |
gdk-pixbufSUSE:Linux Enterprise Micro 5.2 |
before 2.40.0-150200.3.6.1 | 2.40.0-150200.3.6.1 |
gdk-pixbufopenSUSE:Leap Micro 5.2 |
before 2.40.0-150200.3.6.1 | 2.40.0-150200.3.6.1 |
gdk-pixbufopenSUSE:Leap 15.3 |
before 2.40.0-150200.3.6.1 | 2.40.0-150200.3.6.1 |
gdk-pixbufUbuntu:20.04:LTS |
before 2.40.0+dfsg-3ubuntu0.3, plus listed versions 2.40.0+dfsg-1build12.40.0+dfsg-1ubuntu12.40.0+dfsg-22.40.0+dfsg-32.40.0+dfsg-3ubuntu0.12.40.0+dfsg-3ubuntu0.2 |
2.40.0+dfsg-3ubuntu0.3 |
gdk-pixbufopenSUSE:Tumbleweed |
before 2.42.8-2.1 | 2.42.8-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | ||
| facts | OSV | |
| aliases | EUVD, OSV | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-46829 is a high vulnerability (CVSS 7.8) in Gnome Gdk-pixbuf, published July 24, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.80%, the 56th percentile. Fixed in gdk-pixbuf 2.42.8+dfsg-1.
References
gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190
gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121
gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2
gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512
openwall.com/lists/oss-security/2022/07/23/1
openwall.com/lists/oss-security/2022/07/25/1
Show 32 moreShow less
github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR
debian.org/security/2022/dsa-5228
nvd.nist.gov/vuln/detail/CVE-2021-46829
lists.fedoraproject.org/archives/list/[email protected]/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR
github.com/advisories/GHSA-xq3g-5rhc-pxgj
access.redhat.com/errata/RHSA-2023:2216
access.redhat.com/security/cve/CVE-2021-44648
access.redhat.com/security/cve/CVE-2021-46829
bugzilla.redhat.com/2043722
bugzilla.redhat.com/2114940
errata.almalinux.org/9/ALSA-2023-2216.html
docs.bell-sw.com/security/cves/CVE-2021-46829
security-tracker.debian.org/tracker/CVE-2021-46829
advisories.mageia.org/MGASA-2022-0269.html
bugs.mageia.org/show_bug.cgi?id=30662
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1873
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2022-1874
access.redhat.com/security/updates/classification
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.2_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2043722
bugzilla.redhat.com/show_bug.cgi?id=2114940
security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_2216.json
cve.org/CVERecord?id=CVE-2021-44648
nvd.nist.gov/vuln/detail/CVE-2021-44648
cve.org/CVERecord?id=CVE-2021-46829
suse.com/support/update/announcement/2022/suse-su-20222995-1
bugzilla.suse.com/1201826
suse.com/security/cve/CVE-2021-46829
suse.com/support/update/announcement/2022/suse-su-20222996-1
ubuntu.com/security/CVE-2021-46829
ubuntu.com/security/notices/USN-5554-1