CVE-2020-29385

Name
CVE-2020-29385
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Patch https://ubuntu.com/security/CVE-2020-29385
Third Party Advisory https://security.gentoo.org/glsa/202012-15
Release Notes https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS
Vendor Advisory https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164
Issue Tracking https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/
Mailing List https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gnome:gdk-pixbuf:*:*:*:*:*:*:*:* gdk-pixbuf >= None < 2.42.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
gdk-pixbuf 3.10-main 2.38.1-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
gdk-pixbuf 3.12-main 2.40.0-r4 Rasmus Thomsen <oss@cogitri.dev> fixed
gdk-pixbuf 3.11-main 2.40.0-r2 Rasmus Thomsen <oss@cogitri.dev> fixed