CVE-2021-46829
gdk-pixbuf: heap-based buffer overflow when compositing or clearing frames in GIF files
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 24, 2022
Updated · November 21, 2025
Description
A heap-based buffer overflow vulnerability was found in GNOME GdkPixbuf (aka GDK-PixBuf) when compositing or clearing frames in GIF files. The vulnerability exists due to a boundary error when processing GIF images. This flaw allows an attacker to create a specially crafted GIF image, trick the victim into opening it, triggering an out-of-bounds write, which allows executing arbitrary code on the target system or causing a potential crash.
Statement
Red Hat Enterprise Linux - 6, 7, and 8 are not affected because there is no presence of vulnerable function/code in our code-base.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CWE-787 · Out-of-bounds Write