CVE-2020-35530 Memory corruption in LibRaw
An out-of-bounds write in LibRaw allows attackers to execute arbitrary code or cause denial of service via a crafted X3F file.
- 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-35530?
CVE-2020-35530 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, there is an out-of-bounds write vulnerability within the "new_node()" function (libraw\src\x3f\x3f_utils_patched.cpp) that can be triggered via a crafted X3F file.
Weakness: CWE-787
Which versions are affected by CVE-2020-35530?
It affects 2 products.
Products include Debian Debian Linux, Libraw Libraw.
How do I fix CVE-2020-35530?
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-35530 being exploited?
There is no known exploitation of CVE-2020-35530 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2020-35530, GHSA-gf6q-7pjq-pfq7, JLSEC-2026-1102, UBUNTU-CVE-2020-35530.