Vulnerability · Published Sep 1, 2022 · Assigned by redhat
CVE-2020-35530
Medium 5.5
In plain English
A medium-severity out-of-bounds write in LibRaw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.4%top 66.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35530 |
| Alpine:v3.21 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35530 |
| Alpine:v3.22 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35530 |
| Alpine:v3.23 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35530 |
| Alpine:v3.24 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35530 |
| Debian:12 | libraw | 0.20.0-4 | DEBIAN-CVE-2020-35530 |
| Debian:13 | libraw | 0.20.0-4 | DEBIAN-CVE-2020-35530 |
| Debian:14 | libraw | 0.20.0-4 | DEBIAN-CVE-2020-35530 |
| Ubuntu:22.04:LTS | darktable | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:24.04:LTS | darktable | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:25.10 | darktable | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.04:LTS | darktable | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.10 | darktable | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:22.04:LTS | dcraw | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:24.04:LTS | dcraw | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:25.10 | dcraw | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.04:LTS | dcraw | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.10 | dcraw | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:22.04:LTS | exactimage | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:24.04:LTS | exactimage | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:25.10 | exactimage | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.04:LTS | exactimage | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.10 | exactimage | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:22.04:LTS | kodi | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:24.04:LTS | kodi | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:25.10 | kodi | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.04:LTS | kodi | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.10 | kodi | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:22.04:LTS | rawtherapee | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:24.04:LTS | rawtherapee | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:25.10 | rawtherapee | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.04:LTS | rawtherapee | no fix listed | UBUNTU-CVE-2020-35530 |
| Ubuntu:26.10 | rawtherapee | no fix listed | UBUNTU-CVE-2020-35530 |
Affected products (as reported)
Weakness: CWE-787
References
- https://github.com/LibRaw/LibRaw/issues/272 x_refsource_MISC
- https://github.com/LibRaw/LibRaw/commit/11c4db253ef2c9bb44247b578f5caa57c66a1eeb x_refsource_MISC
- [debian-lts-announce] 20220916 [SECURITY] [DLA 3113-1] libraw security update mailing-list, x_refsource_MLIST