gdk-pixbuf — security advisory
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.
- Products
- gdk-pixbuf
- Affected versions
- Not specified
- Fixed versions
- 2.42.2+dfsg-1
- CVEs
- CVE-2020-29385
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 13:50 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2020-29385
gdk-pixbuf
Fixed versions: 2.42.2+dfsg-1
gdk-pixbuf
Fixed versions: 2.42.2+dfsg-1
gdk-pixbuf
Fixed versions: 2.42.2+dfsg-1
Complete source record
{
"id": "676e8e3dc80917f32d55c0fab28d1afc6449b2198cfb1a3d2d80dfec4e3319d1",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2020-29385",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2020-29385",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2020-29385",
"products": [
{
"name": {
"value": "gdk-pixbuf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.42.2+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "gdk-pixbuf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.42.2+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "gdk-pixbuf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.42.2+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2020-29385",
"aliases": [
"DEBIAN-CVE-2020-29385"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.42.2+dfsg-1"
}
]
}
],
"package": {
"name": "gdk-pixbuf",
"purl": "pkg:deb/debian/gdk-pixbuf?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-29385.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.42.2+dfsg-1"
}
]
}
],
"package": {
"name": "gdk-pixbuf",
"purl": "pkg:deb/debian/gdk-pixbuf?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-29385.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.42.2+dfsg-1"
}
]
}
],
"package": {
"name": "gdk-pixbuf",
"purl": "pkg:deb/debian/gdk-pixbuf?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2020-29385.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T12:02:43.558089732Z",
"provider": "osv",
"upstream": [
"CVE-2020-29385"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2020-29385"
]
},
"related_cves": [
{
"value": "CVE-2020-29385",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 452898,
"published_at": "2020-12-26T02:15:12.807+00:00"
}