CVE-2020-29385

MEDIUM

GdkPixbuf <2.42.2 - DoS

Title source: llm
STIX 2.1

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.

References (8)

Core 8
Core References
Release Notes, Vendor Advisory x_refsource_misc
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS
Third Party Advisory x_refsource_misc
https://security.gentoo.org/glsa/202012-15
Issue Tracking, Third Party Advisory x_refsource_confirm
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166
Patch, Third Party Advisory x_refsource_confirm
https://ubuntu.com/security/CVE-2020-29385
Vendor Advisory x_refsource_confirm
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164

Scores

CVSS v3 5.5
EPSS 0.0063
EPSS Percentile 70.5%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-835
Status published
Products (5)
canonical/ubuntu_linux 20.04
canonical/ubuntu_linux 20.10
fedoraproject/fedora 33
fedoraproject/fedora 34
gnome/gdk-pixbuf 2.39.2 - 2.42.2
Published Dec 26, 2020
Tracked Since Feb 18, 2026