CVE-2020-29385
MEDIUM5.5EPSS 0.63%Published: 12/26/2020Modified: 12/3/2025
Also known as:ALPINE-CVE-2020-29385DEBIAN-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.
Affected packages (2)
- Alpine/gdk-pixbuffrom 0, < 2.40.0-r2
- Debian/gdk-pixbuffrom 0, < 2.42.2+dfsg-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |