CVE-2020-29385Gnome Gdk-pixbuf
Medium 5.5
Follow: this CVE · Gnome · Gnome Gdk-pixbuf We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- Yes
- Published
- Dec 26, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-835
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gdk-pixbuf.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gnome | gdk-pixbuf | > 2.39.2 < 2.42.2 |
| canonical | ubuntu_linux | 20.04 |
| canonical | ubuntu_linux | 20.10 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org Issue Tracking Third Party Advisory
- gitlab.gnome.org Release Notes Vendor Advisory
- gitlab.gnome.org Vendor Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- ubuntu.com Patch Third Party Advisory