CVE-2020-29385 json
GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infinite loop) in lzw.c in the function write_indexes.
published 2020-12-26 5 y ago modified 2026-06-17 4 mo ago also EUVD-2020-21758
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infinite loop) in lzw.c in the function write_indexes. if c->self_code equals 10, self->code_table[10].extends will assign the value 11 to c. The next execution in the loop will assign self->code_table[11].extends to c, which will give the value of 10. This will make the loop run infinitely. This bug can, for example, be triggered by calling this function with a GIF image with LZW compression that is crafted in a special way.
Patch / fix
- gnome gdk-pixbuf 2.42.2
- gdk-pixbuf Debian 14, Debian 13, Debian 12 2.42.2+dfsg-1
debian advisories DEBIAN-CVE-2020-29385
- gdk-pixbuf Ubuntu 20.04 LTS 2.40.0+dfsg-3ubuntu0.1
ubuntu advisories UBUNTU-CVE-2020-29385
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- gdk-pixbuf SLE Module for Desktop Applications 15 SP2, SLE Module for Basesystem 15 SP2 2.40.0-3.3.1
suse advisories SUSE-SU-2021:0184-1
- gdk-pixbuf openSUSE Tumbleweed 2.42.6-3.2
- gdk-pixbuf openSUSE Leap 15.2 2.40.0-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:10779-1openSUSE-SU-2021:0150-1
- gdk-pixbuf Alpine 3.11 2.40.0-r2
- gdk-pixbuf Alpine 3.12 2.40.0-r4
- gdk-pixbuf Alpine 3.24, Alpine 3.23, Alpine 3.22 +9 more 2.42.2-r0
alpine advisories ALPINE-CVE-2020-29385
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ubuntu.com/security/CVE-2020-29385 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-29385 updated cvss 5.5
gdk-pixbuf: DoS in lzw.c
-
Red Hat Enterprise Linux 6 gdk-pixbuf2 Red Hat Enterprise Linux 7 gdk-pixbuf2, gdk-pixbuf2-tests Red Hat Enterprise Linux 8 gdk-pixbuf2, gdk-pixbuf2-xlib, mingw-gdk-pixbuf, mingw32-gdk-pixbuf, mingw64-gdk-pixbuf, gdk-pixbuf2-modules Red Hat Enterprise Linux 9 gdk-pixbuf2, gdk-pixbuf2-modulesnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.54% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
ubuntu.com
/security/CVE-2020-29385
patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/
vendor-advisory, mailing-list, third-party-advisory
-
gitlab.gnome.org
/GNOME/gdk-pixbuf/-/blob/master/NEWS
release-notes, vendor-advisory
-
gitlab.gnome.org
/GNOME/gdk-pixbuf/-/issues/164
vendor-advisory
-
security.gentoo.org
/glsa/202012-15
third-party-advisory
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=977166
issue-tracking, third-party-advisory
Sources
- CVE List CVE-2020-29385
- NVD CVE-2020-29385
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.