Bug 1927237 (CVE-2020-29385) - CVE-2020-29385 gdk-pixbuf: DoS in lzw.c
Summary: CVE-2020-29385 gdk-pixbuf: DoS in lzw.c
Alias: CVE-2020-29385
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1927239 Red Hat1928670 1928673
Blocks: Embargoed1927240
TreeView+ depends on / blocked
Reported: 2021-02-10 11:40 UTC by Dhananjay Arunesh
Modified: 2022-04-18 02:27 UTC (History)
10 users (show)

Fixed In Version: gdk-pixbuf 2.42.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-04-18 02:27:51 UTC

Attachments (Terms of Use)

Description Dhananjay Arunesh 2021-02-10 11:40:49 UTC
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.


Comment 1 Dhananjay Arunesh 2021-02-10 11:41:37 UTC
Created gdk-pixbuf2 tracking bugs for this issue:

Affects: fedora-all [bug 1927239]

Comment 5 Stefan Cornelius 2021-02-15 10:40:02 UTC
Created mingw-gdk-pixbuf tracking bugs for this issue:

Affects: fedora-all [bug 1928673]

Comment 6 Product Security DevOps Team 2022-04-18 02:27:49 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.