---
title: "CVE-2020-29385"
canonical_url: "https://pkgseek.com/security/CVE-2020-29385"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2020-29385

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-&gt;self_code equals 10, self-&gt;code_table\[10\].extends will assign the value 11 to c. The next execution in the loop will assign self-&gt;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.

CVE-2020-29385 严重级别为 MEDIUM (5.5)，共索引 6 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.5)
- **受影响构建数**: 6
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | gir1.2-gdkpixbuf-2.0 | 2.40.0+dfsg-3 | 2.40.0+dfsg-3ubuntu0.1 |
| Ubuntu | focal | libgdk-pixbuf2.0-0 | 2.40.0+dfsg-3 | 2.40.0+dfsg-3ubuntu0.1 |
| Ubuntu | focal | libgdk-pixbuf2.0-bin | 2.40.0+dfsg-3 | 2.40.0+dfsg-3ubuntu0.1 |
| Ubuntu | focal | libgdk-pixbuf2.0-common | 2.40.0+dfsg-3 | 2.40.0+dfsg-3ubuntu0.1 |
| Ubuntu | focal | libgdk-pixbuf2.0-dev | 2.40.0+dfsg-3 | 2.40.0+dfsg-3ubuntu0.1 |
| Ubuntu | focal | libgdk-pixbuf2.0-doc | 2.40.0+dfsg-3 | 2.40.0+dfsg-3ubuntu0.1 |
