CVE-2020-35531 Memory corruption in LibRaw
An out-of-bounds read in LibRaw allows attackers to cause denial of service or disclose sensitive memory contents via crafted image files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-35531?
CVE-2020-35531 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 1 Sep 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
In LibRaw, an out-of-bounds read vulnerability exists within the get_huffman_diff() function (libraw\src\x3f\x3f_utils_patched.cpp) when reading data from an image file.
Weakness: CWE-125
Which versions are affected by CVE-2020-35531?
It affects 2 products.
Products include Debian Debian Linux, Libraw Libraw.
How do I fix CVE-2020-35531?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-35531 being exploited?
There is no known exploitation of CVE-2020-35531 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-35531, GHSA-mpq5-cp4r-6mmw, JLSEC-2026-1103, UBUNTU-CVE-2020-35531.