CVE-2020-29385: Canonical Ubuntu Linux

Medium severity, CVSS 5.5. EPSS: 1.5% chance of exploitation in the next 30 days.

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 products

  • Canonical Ubuntu Linux: version 20.04 only; version 20.10 only
  • Fedoraproject Fedora: version 33 only; version 34 only
  • Gnome Gdk-Pixbuf: after 2.39.2, before 2.42.2 (fixed in 2.42.2)

Published 2020-12-26. Last modified 2026-06-17.