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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
07 Nov 2023, 03:21
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
Information
Published : 2020-12-26 02:15
Updated : 2024-02-28 18:08
NVD link : CVE-2020-29385
Mitre link : CVE-2020-29385
CVE.ORG link : CVE-2020-29385
JSON object : View
Products Affected
fedoraproject
- fedora
canonical
- ubuntu_linux
gnome
- gdk-pixbuf
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')