Skip to content
OpenAdvisories
Unscored CVE-2020-29385 EUVD-2020-21758GHSA-wf85-g3p6-xf4h

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->sel…

Published Dec 26, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 gdk-pixbuf 2.42.2+dfsg-1 —
Debian 13 gdk-pixbuf 2.42.2+dfsg-1 —
Debian 12 gdk-pixbuf 2.42.2+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS gdk-pixbuf 2.40.0+dfsg-3ubuntu0.1 USN-4663-1
ReleasePackageFixed inAdvisory
SLES 15 SP2 gdk-pixbuf 2.40.0-3.3.1 SUSE-SU-2021:0184-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed gdk-pixbuf 2.42.6-3.2 openSUSE-SU-2024:10779-1
openSUSE Leap 15.2 gdk-pixbuf 2.40.0-lp152.2.3.1 openSUSE-SU-2021:0150-1
ReleasePackageFixed inAdvisory
Alpine v3.24 gdk-pixbuf 2.42.2-r0 —
Alpine v3.23 gdk-pixbuf 2.42.2-r0 —
Alpine v3.22 gdk-pixbuf 2.42.2-r0 —
Alpine v3.21 gdk-pixbuf 2.42.2-r0 —
Alpine v3.20 gdk-pixbuf 2.42.2-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 gdk-pixbuf 2.42.2-r0 —
Alpine v3.18 gdk-pixbuf 2.42.2-r0 —
Alpine v3.17 gdk-pixbuf 2.42.2-r0 —
Alpine v3.16 gdk-pixbuf 2.42.2-r0 —
Alpine v3.15 gdk-pixbuf 2.42.2-r0 —
Alpine v3.14 gdk-pixbuf 2.42.2-r0 —
Alpine v3.13 gdk-pixbuf 2.42.2-r0 —
Alpine v3.12 gdk-pixbuf 2.40.0-r4 —
Alpine v3.11 gdk-pixbuf 2.40.0-r2 —

Advisories 4

References