{"id":"CVE-2020-29385","state":"PUBLISHED","title":"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].ex","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.","publishedAt":"2020-12-26T02:01:49.000Z","updatedAt":"2024-08-04T16:55:09.278Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS","https://security.gentoo.org/glsa/202012-15","https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166","https://ubuntu.com/security/CVE-2020-29385","https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:47:16.535Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/29xxx/CVE-2020-29385.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-29385","state":"PUBLISHED","datePublished":"2020-12-26T02:01:49.000Z","dateUpdated":"2024-08-04T16:55:09.278Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2020-11-30T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202012-15","tags":["x_refsource_MISC"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166","tags":["x_refsource_CONFIRM"]},{"url":"https://ubuntu.com/security/CVE-2020-29385","tags":["x_refsource_CONFIRM"]},{"url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/","name":"FEDORA-2021-2e59756cbe","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/","name":"FEDORA-2021-755ba8968a","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/","name":"FEDORA-2021-c918632e13","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2021-03-19T22:06:38.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2020-29385","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS","refsource":"MISC","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS"},{"name":"https://security.gentoo.org/glsa/202012-15","refsource":"MISC","url":"https://security.gentoo.org/glsa/202012-15"},{"name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166","refsource":"CONFIRM","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166"},{"name":"https://ubuntu.com/security/CVE-2020-29385","refsource":"CONFIRM","url":"https://ubuntu.com/security/CVE-2020-29385"},{"name":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164","refsource":"CONFIRM","url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164"},{"name":"FEDORA-2021-2e59756cbe","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/"},{"name":"FEDORA-2021-755ba8968a","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/"},{"name":"FEDORA-2021-c918632e13","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/blob/master/NEWS","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202012-15","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977166","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://ubuntu.com/security/CVE-2020-29385","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/164","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EANWYODLOJDFLMBH6WEKJJMQ5PKLEWML/","name":"FEDORA-2021-2e59756cbe","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B5H3GNVWMZTYZR3JBYCK57PF7PFMQBNP/","name":"FEDORA-2021-755ba8968a","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BGZVCTH5O7WBJLYXZ2UOKLYNIFPVR55D/","name":"FEDORA-2021-c918632e13","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T16:55:09.278Z"}}]}}}