{"id":"ALPINE-CVE-2020-29385","details":"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-\u003eself_code equals 10, self-\u003ecode_table[10].extends will assign the value 11 to c. The next execution in the loop will assign self-\u003ecode_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.","modified":"2026-09-11T10:17:51.430540794Z","published":"2020-12-26T02:15:12.807Z","upstream":["CVE-2020-29385"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2020-29385"}],"affected":[{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40.0-r2"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.40.0-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}},{"package":{"name":"gdk-pixbuf","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/gdk-pixbuf?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.42.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2020-29385.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}