CVE-2021-20240
publishedgdk-pixbuf: integer wraparound in the GIF loader of gdk-pixbuf via crafted input leads to segmentation fault
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | gdk-pixbufgdk-pixbuf 2.42.0 | Affected | Not stated | redhat |
| Alpine Linux | v3.11 | gdk-pixbuf | Fixed | 2.40.0-r1 | Package fix record |
| Ubuntu | focal | gdk-pixbuf | Advisory build | 2.40.0+dfsg-3ubuntu0.2 | USN-4743-1 |
| Alpine Linux | v3.12 | gdk-pixbuf | Fixed | 2.40.0-r3 | Package fix record |
| Ubuntu | focal | gir1.2-gdkpixbuf-2.0 | Advisory build | 2.40.0+dfsg-3ubuntu0.2 | USN-4743-1 |
| Ubuntu | focal | libgdk-pixbuf2.0-0 | Advisory build | 2.40.0+dfsg-3ubuntu0.2 | USN-4743-1 |
| Ubuntu | focal | libgdk-pixbuf2.0-bin | Advisory build | 2.40.0+dfsg-3ubuntu0.2 | USN-4743-1 |
| Ubuntu | focal | libgdk-pixbuf2.0-common | Advisory build | 2.40.0+dfsg-3ubuntu0.2 | USN-4743-1 |
Description
A flaw was found in gdk-pixbuf in versions before 2.42.0. An integer wraparound leading to an out of bounds write can occur when a crafted GIF image is loaded. An attacker may cause applications to crash or could potentially execute code on the victim system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | gdk-pixbuf | gdk-pixbuf 2.42.0 (affected) | redhat · cna |
Weaknesses
1- CWE-191 CWE-191->CWE-787
References
4- https://bugzilla.redhat.com/show_bug.cgi?id=1926787
- FEDORA-2021-755ba8968a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/
- FEDORA-2021-c918632e13 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/
- FEDORA-2021-2e59756cbe https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a3353a4a7cc636d38d8ed966695cb4578e06cb016bc52f930194fb372bb0ff1e
- Ingested
- 23 Sep 2026, 07:52:16 UTC
- Source record
- Official CVE record