Every CVE Search/ Get API key

CVE-2020-29385

GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infinite loop) in lzw...

5.5 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.54%Down 2.5 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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.

Record
CVE-2020-29385
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2020-29385
Updated
2026-11-02
EUVDEUVD-2020-21758 No score

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.

Record
EUVD-2020-21758
Updated
2026-11-03
GitHub AdvisoriesGHSA-wf85-g3p6-xf4h 5.5

GNOME gdk-pixbuf (aka GdkPixbuf) before 2.42.2 allows a denial of service (infinite loop) in lzw...

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.

Record
GHSA-wf85-g3p6-xf4h
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSVALPINE-CVE-2020-29385 5.5

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.

Record
ALPINE-CVE-2020-29385
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-03
OSVBELL-CVE-2020-29385 5.5

CVE-2020-29385 does not affect BellSoft software

Record
BELL-CVE-2020-29385
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSV 5.5

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.

Record
CVE-2020-29385
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-04
OSVDEBIAN-CVE-2020-29385 5.5

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.

Record
DEBIAN-CVE-2020-29385
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2022-1762 8.8

gdk-pixbuf2 security update

gdk is written in C but has been designed from the ground up to support a wide range of languages. It provide a complete set of widgets,and suitable for projects ranging from small one-off tools to complete application suites.

Security Fix(es):

A flaw was found in gdk-pixbuf in versions before 2.42.0. An integer wraparound leading to an out of bounds write can occur when a crafted GIF image is loaded. An attacker may cause applications to crash or could potentially execute code on the victim system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.(CVE-2021-20240)

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.(CVE-2020-29385)

Record
OESA-2022-1762
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2020-29385 5.5

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.

Record
UBUNTU-CVE-2020-29385
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2021:0150-1 No score

Security update for gdk-pixbuf

This update for gdk-pixbuf fixes the following issues:

  • CVE-2020-29385: Fixed an infinite loop in lzw.c in the function write_indexes (bsc#1180393).
  • Fixed an integer underflow in the GIF loader (bsc#1174307).

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Record
openSUSE-SU-2021:0150-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:10779-1 No score

gdk-pixbuf-devel-2.42.6-3.2 on GA media

These are all security issues fixed in the gdk-pixbuf-devel-2.42.6-3.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10779-1
Updated
2026-11-02
OSVSUSE-SU-2021:0184-1 No score

Security update for gdk-pixbuf

This update for gdk-pixbuf fixes the following issues:

  • CVE-2020-29385: Fixed an infinite loop in lzw.c in the function write_indexes (bsc#1180393).
  • Fixed an integer underflow in the GIF loader (bsc#1174307).
Record
SUSE-SU-2021:0184-1
Updated
2026-11-02
OSVUSN-4663-1 No score

gdk-pixbuf vulnerability

Melvin Kool discovered that the GDK-PixBuf library did not properly handle certain GIF images. If an user or automated system were tricked into opening a specially crafted GIF file, a remote attacker could use this flaw to cause GDK-PixBuf to hang, resulting in a denial of service.

Record
USN-4663-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
gdk-pixbuf
Alpine:v3.11
before 2.40.0-r2
2.40.0-r2
gdk-pixbuf
Alpine:v3.12
before 2.40.0-r4
2.40.0-r4
gdk-pixbuf
Alpine:v3.13
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.14
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.15
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.16
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.17
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.18
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.19
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.20
before 2.42.2-r0
2.42.2-r0
Show 13 moreShow less
Affected packages
PackageAffectedFixed
gdk-pixbuf
Alpine:v3.21
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.22
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.23
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Alpine:v3.24
before 2.42.2-r0
2.42.2-r0
gdk-pixbuf
Debian:12
before 2.42.2+dfsg-1
2.42.2+dfsg-1
gdk-pixbuf
Debian:13
before 2.42.2+dfsg-1
2.42.2+dfsg-1
gdk-pixbuf
Debian:14
before 2.42.2+dfsg-1
2.42.2+dfsg-1
gdk-pixbuf2
openEuler:20.03-LTS-SP3
From an advisory covering 2 CVEs
before 2.40.0-2.oe1
2.40.0-2.oe1
gdk-pixbuf
SUSE:Linux Enterprise Module for Basesystem 15 SP2
before 2.40.0-3.3.1
2.40.0-3.3.1
gdk-pixbuf
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2
before 2.40.0-3.3.1
2.40.0-3.3.1
gdk-pixbuf
Ubuntu:20.04:LTS
before 2.40.0+dfsg-3ubuntu0.1, plus listed versions
2.40.0+dfsg-1build12.40.0+dfsg-1ubuntu12.40.0+dfsg-22.40.0+dfsg-3
2.40.0+dfsg-3ubuntu0.1
gdk-pixbuf
openSUSE:Leap 15.2
before 2.40.0-lp152.2.3.1
2.40.0-lp152.2.3.1
gdk-pixbuf
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 2.42.6-3.2
2.42.6-3.2

History

History
RecordedChangedSources
affected
factsOSV
affectedOSV
aliasesEUVD, OSV
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-29385 is a medium vulnerability (CVSS 5.5) in Gnome Gdk-pixbuf, published December 8, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.54%, the 75th percentile. Fixed in gdk-pixbuf 2.40.0-r2.

References

Show 24 moreShow less
MoveEnter Open