Vulnerability · Published Sep 1, 2022 · Assigned by redhat
CVE-2020-35532
Medium 5.5
In plain English
A medium-severity out-of-bounds read 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, 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35532 |
| Alpine:v3.21 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35532 |
| Alpine:v3.22 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35532 |
| Alpine:v3.23 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35532 |
| Alpine:v3.24 | libraw | 0.20.0-r0 | ALPINE-CVE-2020-35532 |
| Debian:12 | libraw | 0.20.0-4 | DEBIAN-CVE-2020-35532 |
| Debian:13 | libraw | 0.20.0-4 | DEBIAN-CVE-2020-35532 |
| Debian:14 | libraw | 0.20.0-4 | DEBIAN-CVE-2020-35532 |
| Ubuntu:22.04:LTS | darktable | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:24.04:LTS | darktable | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:25.10 | darktable | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.04:LTS | darktable | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.10 | darktable | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:22.04:LTS | dcraw | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:24.04:LTS | dcraw | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:25.10 | dcraw | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.04:LTS | dcraw | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.10 | dcraw | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:22.04:LTS | exactimage | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:24.04:LTS | exactimage | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:25.10 | exactimage | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.04:LTS | exactimage | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.10 | exactimage | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:22.04:LTS | kodi | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:24.04:LTS | kodi | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:25.10 | kodi | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.04:LTS | kodi | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.10 | kodi | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:22.04:LTS | rawtherapee | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:24.04:LTS | rawtherapee | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:25.10 | rawtherapee | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.04:LTS | rawtherapee | no fix listed | UBUNTU-CVE-2020-35532 |
| Ubuntu:26.10 | rawtherapee | no fix listed | UBUNTU-CVE-2020-35532 |
Affected products (as reported)
Weakness: CWE-125
References
- https://github.com/LibRaw/LibRaw/issues/271 x_refsource_MISC
- https://github.com/LibRaw/LibRaw/commit/5ab45b085898e379fedc6b113e2e82a890602b1e x_refsource_MISC
- [debian-lts-announce] 20220916 [SECURITY] [DLA 3113-1] libraw security update mailing-list, x_refsource_MLIST