CVE-2020-29385

MEDIUMCVSS 5.5/10EPSS 1.48%

Last modified

CVE-2020-29385 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 1.48% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
1.48%

70.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GnomeGdk-Pixbuf> 2.39.2, < 2.42.2
CanonicalUbuntu Linux20.04
CanonicalUbuntu Linux20.10
FedoraprojectFedora33
FedoraprojectFedora34

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-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, 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.
How severe is CVE-2020-29385?
CVE-2020-29385 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 1.48% probability of exploitation in the next 30 days.
How do I fix CVE-2020-29385?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-29385?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST