CVE-2020-35532 Memory corruption in LibRaw
An out-of-bounds read in LibRaw allows attackers to cause denial of service or disclose information via a crafted image with a large row_stride field.
- 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-35532?
CVE-2020-35532 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 "simple_decode_row()" function (libraw\src\x3f\x3f_utils_patched.cpp) which can be triggered via an image with a large row_stride field.
Weakness: CWE-125
Which versions are affected by CVE-2020-35532?
It affects 2 products.
Products include Debian Debian Linux, Libraw Libraw.
How do I fix CVE-2020-35532?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2020-35532 being exploited?
There is no known exploitation of CVE-2020-35532 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-35532, GHSA-fc2r-q5xw-m9fm, JLSEC-2026-1104, UBUNTU-CVE-2020-35532.