High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-46829
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:48 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-46829
Complete source record
{
"id": "3d24c69199d0c1b16ca8c2e199a85152648a360dbb018a69e8b6ff893422f100",
"url": "https://osv.dev/vulnerability/CVE-2021-46829",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-46829",
"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.",
"evidence": "osv:CVE-2021-46829",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-46829",
"aliases": [
"CVE-2021-46829"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gnome/gdk-pixbuf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bca00032ad68d0b0aa2c1f7558db931e52bd9cd2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnome:gdk-pixbuf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.42.8"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.42.6",
"2.42.4",
"2.42.2",
"2.42.0",
"2.40.0",
"2.39.2",
"2.38.0",
"2.37.92",
"2.37.0",
"2.36.12",
"2.36.11",
"2.36.10",
"2.36.9",
"2.36.8",
"2.36.7",
"2.36.6",
"2.36.5",
"2.36.4",
"2.36.3",
"2.36.2",
"2.36.1",
"2.36.0",
"2.35.5",
"2.35.4",
"2.35.3",
"2.35.2",
"2.35.1",
"2.34.0",
"2.33.2",
"2.33.1",
"2.32.1",
"2.32.0",
"2.31.7",
"2.31.6",
"2.31.5",
"2.31.4",
"2.31.3",
"2.31.2",
"2.31.1",
"2.31.0",
"2.30.8",
"2.30.7",
"2.30.6",
"2.30.5",
"2.30.4",
"2.30.3",
"2.30.2",
"2.30.1",
"2.30.0",
"2.29.3",
"2.29.2",
"2.29.1",
"2.29.0",
"2.28.0",
"2.27.3",
"2.27.2",
"2.27.1",
"2.27.0",
"2.26.5",
"2.26.4",
"2.26.3",
"2.26.2",
"2.26.1",
"2.26.0",
"2.25.2",
"2.25.0",
"2.24.0",
"2.23.5",
"2.23.4",
"2.23.3",
"2.23.2",
"2.23.1",
"2.23.0",
"2.22.1",
"2.22.0",
"2.21.7",
"2.21.6",
"2.21.4",
"2.21.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46829.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.gnome.org/gnome/gdk-pixbuf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bca00032ad68d0b0aa2c1f7558db931e52bd9cd2"
},
{
"fixed": "5398f04d772f7f8baf5265715696ed88db0f0512"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gnome:gdk-pixbuf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.42.8"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5398f04d772f7f8baf5265715696ed88db0f0512"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bca00032ad68d0b0aa2c1f7558db931e52bd9cd2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"2.42.6",
"2.42.4",
"2.42.2",
"2.42.0",
"2.40.0",
"2.39.2",
"2.38.0",
"2.37.92",
"2.37.0",
"2.36.12",
"2.36.11",
"2.36.10",
"2.36.9",
"2.36.8",
"2.36.7",
"2.36.6",
"2.36.5",
"2.36.4",
"2.36.3",
"2.36.2",
"2.36.1",
"2.36.0",
"2.35.5",
"2.35.4",
"2.35.3",
"2.35.2",
"2.35.1",
"2.34.0",
"2.33.2",
"2.33.1",
"2.32.1",
"2.32.0",
"2.31.7",
"2.31.6",
"2.31.5",
"2.31.4",
"2.31.3",
"2.31.2",
"2.31.1",
"2.31.0",
"2.30.8",
"2.30.7",
"2.30.6",
"2.30.5",
"2.30.4",
"2.30.3",
"2.30.2",
"2.30.1",
"2.30.0",
"2.29.3",
"2.29.2",
"2.29.1",
"2.29.0",
"2.28.0",
"2.27.3",
"2.27.2",
"2.27.1",
"2.27.0",
"2.26.5",
"2.26.4",
"2.26.3",
"2.26.2",
"2.26.1",
"2.26.0",
"2.25.2",
"2.25.0",
"2.24.0",
"2.23.5",
"2.23.4",
"2.23.3",
"2.23.2",
"2.23.1",
"2.23.0",
"2.22.1",
"2.22.0",
"2.21.7",
"2.21.6",
"2.21.4",
"2.21.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-46829.json"
}
}
],
"modified": "2026-10-24T10:50:12.998692486Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/M5IHHEYFD6GDZVALKIPPRD2U4JNZUZWR/",
"https://www.debian.org/security/2022/dsa-5228",
"https://www.openwall.com/lists/oss-security/2022/07/23/1",
"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/190",
"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/5398f04d772f7f8baf5265715696ed88db0f0512",
"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/commit/bca00032ad68d0b0aa2c1f7558db931e52bd9cd2",
"https://github.com/pedrib/PoC/blob/master/fuzzing/CVE-2021-46829/CVE-2021-46829.md",
"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/121"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "11.0"
},
{
"last_affected": "11.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "35"
},
{
"last_affected": "35"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-46829",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 442062,
"published_at": "2022-07-24T19:15:10.097+00:00"
}