# CVE-2021-46829: 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…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2022-07-24T18:47:35.000Z
- Modified: 2026-06-17T04:15:37.840Z
- Weaknesses: CWE-190
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- gnome gdk-pixbuf: before 2.42.8
- fedoraproject fedora: 35
- debian debian_linux: 11.0

## References

- <https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190> (exploit, issue-tracking, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121> (exploit, third-party-advisory)
- <https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md> (exploit, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2> (patch, third-party-advisory)
- <https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512> (patch, third-party-advisory)
- <https://www.openwall.com/lists/oss-security/2022/07/23/1> (mailing-list, third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/07/25/1> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR/> (vendor-advisory)
- <https://www.debian.org/security/2022/dsa-5228> (third-party-advisory, vendor-advisory)

## Sources

- CVE List: [CVE-2021-46829](https://www.cve.org/CVERecord?id=CVE-2021-46829), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-46829](https://nvd.nist.gov/vuln/detail/CVE-2021-46829), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-46829 · Whole record: https://cve.day/CVE-2021-46829.json · Rebuilt by cve.day 2026-11-25T22:58:07.723Z
