CVE-2020-29385

gdk-pixbuf: DoS in lzw.c

Published Dec 26, 2020 CVSS 3.1 · 5.5 Medium EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2020-21758 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 USN Ubuntu USN USN-4663-1 GDK-PixBuf vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 4:55 PM
Reserved
Nov 30, 2020, 12:00 AM
Status
Analyzed
Published
Dec 26, 2020, 2:15 AM
Modified
Jun 17, 2026, 3:11 AM
Severity
Moderate
Public date
Dec 8, 2020, 12:00 AM