CVE-2020-29385
published 2020-12-26CVE-2020-29385: 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…
PriorityP421medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.48%
70.6th percentile
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.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | gdk-pixbuf | < gdk-pixbuf 2.42.2+dfsg-1 (bookworm) | gdk-pixbuf 2.42.2+dfsg-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| gnome | gdk-pixbuf | < 2.42.2 | 2.42.2 |
| gnome | gdk-pixbuf | >= 0 < 2.42.2+dfsg-1 | 2.42.2+dfsg-1 |
| gnome | gdk-pixbuf | >= 0 < 2.42.2+dfsg-1 | 2.42.2+dfsg-1 |
| gnome | gdk-pixbuf | >= 0 < 2.42.2+dfsg-1 | 2.42.2+dfsg-1 |
| gnome | gdk-pixbuf | >= 0 < 2.42.2+dfsg-1 | 2.42.2+dfsg-1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wf85-g3p6-xf4h: GNOME gdk-pixbuf (aka GdkPixbuf) before 2
ghsa_unreviewed·2022-05-24
CVE-2020-29385 [MEDIUM] CWE-835 GHSA-wf85-g3p6-xf4h: GNOME gdk-pixbuf (aka GdkPixbuf) before 2
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.
OSV
CVE-2020-29385: GNOME gdk-pixbuf (aka GdkPixbuf) before 2
osv·2020-12-26·CVSS 5.5
CVE-2020-29385 [MEDIUM] CVE-2020-29385: GNOME gdk-pixbuf (aka GdkPixbuf) before 2
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.
Ubuntu
GDK-PixBuf vulnerability
vendor_ubuntu·2020-12-08
CVE-2020-29385 GDK-PixBuf vulnerability
Title: GDK-PixBuf vulnerability
Summary: GDK-PixBuf could be made to hang if it opened a specially crafted file.
Melvin Kool discovered that the GDK-PixBuf library did not properly handle
certain GIF images. If an user or automated system were tricked into
opening a specially crafted GIF file, a remote attacker could use this flaw
to cause GDK-PixBuf to hang, resulting in a denial of service.
Instructions: After a standard system update you need to restart your session to make all
the necessary changes.
Red Hat
gdk-pixbuf: DoS in lzw.c
vendor_redhat·2020-12-08·CVSS 5.5
CVE-2020-29385 [MEDIUM] CWE-835 gdk-pixbuf: DoS in lzw.c
gdk-pixbuf: DoS in lzw.c
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.
Package: gdk-pixbuf2 (Red Hat Enterprise Linux 6) - Not affected
Package: gdk-pixbuf2 (Red Hat Enterprise Linux 7) - Not affected
Package: gdk-pixbuf2 (Red Hat Enterprise Linux 8) - Not affected
Package: mingw-gdk-pixbuf (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2020-29385: gdk-pixbuf - GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infin...
vendor_debian·2020·CVSS 5.5
CVE-2020-29385 [MEDIUM] CVE-2020-29385: gdk-pixbuf - GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infin...
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.
Scope: local
bookworm: resolved (fixed in 2.42.2+dfsg-1)
bullseye: resolved (fixed in 2.42.2+dfsg-1)
forky: resolved (fixed in 2.42.2+dfsg-1)
sid: resolved (fixed in 2.42.2+dfsg-1)
trixie: resolved (fixed in 2.42.2+dfsg-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWShttps://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164https://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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/https://security.gentoo.org/glsa/202012-15https://ubuntu.com/security/CVE-2020-29385https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWShttps://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164https://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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/https://security.gentoo.org/glsa/202012-15https://ubuntu.com/security/CVE-2020-29385
2020-12-26
Published