CVE-2021-20240
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.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | gdk-pixbuf | Fixed | 2.40.0+dfsg-3ubuntu0.2 | UBUNTU-CVE-2021-20240 |
| Ubuntu 16.04 | gdk-pixbuf | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | gdk-pixbuf | Fix pending | ||
| Debian 14 | gdk-pixbuf | Fixed | 2.42.2+dfsg-1 | DEBIAN-CVE-2021-20240 |
| Debian 13 | gdk-pixbuf | Fixed | 2.42.2+dfsg-1 | DEBIAN-CVE-2021-20240 |
| Debian 12 | gdk-pixbuf | Fixed | 2.42.2+dfsg-1 | DEBIAN-CVE-2021-20240 |
| Red Hat Enterprise Linux 9 | gdk-pixbuf2 | Not affected | ||
| Red Hat Enterprise Linux 9 | gdk-pixbuf2-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | gdk-pixbuf2-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | gdk-pixbuf2 | Not affected | ||
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-modules | Not affected | ||
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-xlib | Not affected | ||
| Red Hat Enterprise Linux 8 | gdk-pixbuf2-xlib-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | gdk-pixbuf2 | Not affected | ||
| Red Hat Enterprise Linux 7 | gdk-pixbuf2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | gdk-pixbuf2-tests | Not affected | ||
| Red Hat Enterprise Linux 6 | gdk-pixbuf2 | Not affected | ||
| Red Hat Enterprise Linux 6 | gdk-pixbuf2-devel | Not affected | ||
| Alpine Linux 3.12 | gdk-pixbuf | Fixed | 2.40.0-r3 | ALPINE-CVE-2021-20240 |
| Alpine Linux 3.11 | gdk-pixbuf | Fixed | 2.40.0-r1 | ALPINE-CVE-2021-20240 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- gdk-pixbuf: affected: gdk-pixbuf 2.42.0
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/
- https://bugzilla.redhat.com/show_bug.cgi?id=1926787
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.