CVE-2020-35532
publishedLibRaw: Out-of-bounds read in simple_decode_row() function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | LibRawLibRaw 0.21-Beta1, LibRaw 0.20.2, LibRaw 0.20.1, LibRaw 0.20.0, LibRaw 0.20-RC2 | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluationALAS2-2023-2256 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Debian | buster | libraw | Advisory build | 0.19.2-2+deb10u1 | DLA-3113-1 |
| Ubuntu | bionic | digikam | Advisory build | 4:5.6.0-0ubuntu10+esm1 | USN-7266-1 |
| Amazon Linux | AL2 | LibRawaarch64 | Listed in advisory | Not stated | ALAS2-2023-2256 |
| Alpine Linux | v3.17 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Alpine Linux | v3.18 | libraw | Fixed | 0.20.0-r0 | Package fix record |
Show 24 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Alpine Linux | v3.20 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Alpine Linux | v3.21 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Alpine Linux | v3.22 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Alpine Linux | v3.23 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Alpine Linux | v3.24 | libraw | Fixed | 0.20.0-r0 | Package fix record |
| Ubuntu | bionic | digikam-data | Advisory build | 4:5.6.0-0ubuntu10+esm1 | USN-7266-1 |
| Ubuntu | bionic | digikam-private-libs | Advisory build | 4:5.6.0-0ubuntu10+esm1 | USN-7266-1 |
| Ubuntu | bionic | kipi-plugins | Advisory build | 4:5.6.0-0ubuntu10+esm1 | USN-7266-1 |
| Ubuntu | bionic | kipi-plugins-common | Advisory build | 4:5.6.0-0ubuntu10+esm1 | USN-7266-1 |
| Ubuntu | bionic | libraw | Advisory build | 0.18.8-1ubuntu0.4 | USN-5715-1 |
| Ubuntu | bionic | libraw-bin | Advisory build | 0.18.8-1ubuntu0.4 | USN-5715-1 |
| Ubuntu | bionic | libraw16 | Advisory build | 0.18.8-1ubuntu0.4 | USN-5715-1 |
| Ubuntu | bionic | showfoto | Advisory build | 4:5.6.0-0ubuntu10+esm1 | USN-7266-1 |
| Ubuntu | focal | digikam | Advisory build | 4:6.4.0+dfsg-3ubuntu0.1~esm1 | USN-7266-1 |
| Ubuntu | focal | digikam-data | Advisory build | 4:6.4.0+dfsg-3ubuntu0.1~esm1 | USN-7266-1 |
| Ubuntu | focal | digikam-private-libs | Advisory build | 4:6.4.0+dfsg-3ubuntu0.1~esm1 | USN-7266-1 |
| Ubuntu | focal | libraw | Advisory build | 0.19.5-1ubuntu1.1 | USN-5715-1 |
| Ubuntu | focal | libraw-bin | Advisory build | 0.19.5-1ubuntu1.1 | USN-5715-1 |
| Ubuntu | focal | libraw19 | Advisory build | 0.19.5-1ubuntu1.1 | USN-5715-1 |
| Ubuntu | focal | showfoto | Advisory build | 4:6.4.0+dfsg-3ubuntu0.1~esm1 | USN-7266-1 |
| Amazon Linux | AL2 | LibRawi686 | Listed in advisory | Not stated | ALAS2-2023-2256 |
| Amazon Linux | AL2 | LibRawsrc | Listed in advisory | Not stated | ALAS2-2023-2256 |
| Amazon Linux | AL2 | LibRawx86_64 | Listed in advisory | Not stated | ALAS2-2023-2256 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | LibRaw | LibRaw 0.21-Beta1, LibRaw 0.20.2, LibRaw 0.20.1, LibRaw 0.20.0, LibRaw 0.20-RC2 (affected) | redhat · cna |
Weaknesses
1- CWE-125
References
3- https://github.com/LibRaw/LibRaw/commit/5ab45b085898e379fedc6b113e2e82a890602b1e
- https://github.com/LibRaw/LibRaw/issues/271
- [debian-lts-announce] 20220916 [SECURITY] [DLA 3113-1] libraw security update https://lists.debian.org/debian-lts-announce/2022/09/msg00024.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0bb955cbc8d4faf12db04eb6672b2db65f5f3154ad1d1002cec0ba305e959db0
- Ingested
- 23 Sep 2026, 07:50:19 UTC
- Source record
- Official CVE record