CVE-2020-35532
In LibRaw, an out-of-bounds read vulnerability exists within the "simple_decode_row()" function ...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2020-35532- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-35532- Weakness
- CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2020-23199 No score
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.
- Record
EUVD-2020-23199- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fc2r-q5xw-m9fm
5.5
In LibRaw, an out-of-bounds read vulnerability exists within the "simple_decode_row()" function ...
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.
- Record
GHSA-fc2r-q5xw-m9fm- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
OSVALPINE-CVE-2020-35532
5.5
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.
- Record
ALPINE-CVE-2020-35532- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
OSV
5.5
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.
- Record
CVE-2020-35532- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2020-35532
5.5
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.
- Record
DEBIAN-CVE-2020-35532- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVJLSEC-2026-1104
5.5
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.
- Record
JLSEC-2026-1104- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-35532
5.5
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.
- Record
UBUNTU-CVE-2020-35532- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUSN-5715-1 No score
libraw vulnerabilities
It was discovered that LibRaw incorrectly handled photo files. If a user or automated system were tricked into processing a specially crafted photo file, a remote attacker could cause applications linked against LibRaw to crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-5715-1- Updated
- 2026-11-02
OSVUSN-7266-1 No score
digikam vulnerabilities
Zinuo Han and Ao Wang discovered that the Android DNG SDK, vendored in digiKam, did not correctly parse certain files. An attacker could possibly use this issue to execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2017-0691)
It was discovered that Platinum Upnp SDK, vendored in digiKam, was vulnerable to a path traversal attack. An attacker could possibly use this issue to leak sensitive information. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-19858)
It was discovered that LibRaw, vendored in digiKam, did not correctly handle certain memory operations. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to leak sensitive information. This issue only affected Ubuntu 20.04 LTS. (CVE-2020-22628)
It was discovered that LibRaw, vendored in digiKam, did not correctly handle certain memory operations. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2020-35530, CVE-2020-35531, CVE-2020-35532, CVE-2020-35533)
It was discovered that LibRaw, vendored in digiKam, did not correctly handle certain memory operations. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-32142)
It was discovered that LibRaw, vendored in digiKam, did not correctly handle certain memory operations. If a user or automated system were tricked into opening a specially crafted file, an attacker could possibly use this issue to cause a denial of service or execute arbitrary code. This issue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2023-1729)
- Record
USN-7266-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
librawAlpine:v3.17 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.18 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.19 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.20 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.21 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.22 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.23 |
before 0.20.0-r0 | 0.20.0-r0 |
librawAlpine:v3.24 |
before 0.20.0-r0 | 0.20.0-r0 |
librawDebian:12 |
before 0.20.0-4 | 0.20.0-4 |
librawDebian:13 |
before 0.20.0-4 | 0.20.0-4 |
Show 56 moreShow less
| Package | Affected | Fixed |
|---|---|---|
librawDebian:14 |
before 0.20.0-4 | 0.20.0-4 |
librawDebian:10 From an advisory covering 4 CVEs |
before 0.19.2-2+deb10u1, plus listed versions 0.19.2-2 |
0.19.2-2+deb10u1 |
LibRaw_jllJulia |
before 0.22.1+0 | 0.22.1+0 |
librawUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 0.16.2-10.17.0-10.17.1-10.17.1-1ubuntu0.10.17.1-1ubuntu0.2 Show 4 moreShow less0.17.1-1ubuntu0.30.17.1-1ubuntu0.40.17.1-1ubuntu0.50.17.1-1ubuntu0.5+esm1 |
None known |
darktableUbuntu:16.04:LTS |
All versions, plus listed versions 1.6.8-11.6.9-12.0.0-12.0.1-12.0.3-1 |
None known |
dcrawUbuntu:16.04:LTS |
All versions, plus listed versions 9.21-0.2 |
None known |
exactimageUbuntu:16.04:LTS |
All versions, plus listed versions 0.9.1-6build10.9.1-6ubuntu10.9.1-8ubuntu10.9.1-90.9.1-9build1 Show 4 moreShow less0.9.1-100.9.1-110.9.1-120.9.1-12ubuntu1 |
None known |
kodiUbuntu:16.04:LTS |
All versions, plus listed versions 15.1+dfsg1-315.2+dfsg1-1build115.2+dfsg1-315.2+dfsg1-3ubuntu115.2+dfsg1-3ubuntu1.1 |
None known |
rawtherapeeUbuntu:16.04:LTS |
All versions, plus listed versions 4.2-2build14.2-4 |
None known |
ufrawUbuntu:16.04:LTS |
All versions, plus listed versions 0.20-3build1 |
None known |
librawUbuntu:18.04:LTS |
before 0.18.8-1ubuntu0.4, plus listed versions 0.18.2-20.18.5-10.18.7-20.18.8-10.18.8-1ubuntu0.10.18.8-1ubuntu0.20.18.8-1ubuntu0.3 |
0.18.8-1ubuntu0.4 |
darktableUbuntu:18.04:LTS |
All versions, plus listed versions 2.2.5-22.4.0-12.4.1-12.4.2-1 |
None known |
dcrawUbuntu:18.04:LTS |
All versions, plus listed versions 9.27-1ubuntu1 |
None known |
digikamUbuntu:Pro:18.04:LTS |
before 4:5.6.0-0ubuntu10+esm1, plus listed versions 4:5.6.0-0ubuntu24:5.6.0-0ubuntu34:5.6.0-0ubuntu44:5.6.0-0ubuntu74:5.6.0-0ubuntu84:5.6.0-0ubuntu94:5.6.0-0ubuntu10 |
4:5.6.0-0ubuntu10+esm1 |
exactimageUbuntu:18.04:LTS |
All versions, plus listed versions 0.9.2-1build11.0.1-1 |
None known |
kodiUbuntu:18.04:LTS |
All versions, plus listed versions 2:17.3+dfsg1-32:17.3+dfsg1-3build12:17.3+dfsg1-52:17.3+dfsg1-5build12:17.3+dfsg1-5build22:17.6+dfsg1-12:17.6+dfsg1-1build12:17.6+dfsg1-1ubuntu1 |
None known |
rawtherapeeUbuntu:18.04:LTS |
All versions, plus listed versions 5.2-15.3-1 |
None known |
ufrawUbuntu:18.04:LTS |
All versions, plus listed versions 0.22-1.10.22-20.22-30.22-3.1~build0.18.04.10.22-3.1ubuntu0.1 |
None known |
librawUbuntu:20.04:LTS |
before 0.19.5-1ubuntu1.1, plus listed versions 0.19.5-10.19.5-1ubuntu1 |
0.19.5-1ubuntu1.1 |
darktableUbuntu:20.04:LTS |
All versions, plus listed versions 2.6.0-12.6.2-32.6.3-12.6.3-1build12.6.3-1build23.0.1-0ubuntu1 |
None known |
dcrawUbuntu:20.04:LTS |
All versions, plus listed versions 9.28-2 |
None known |
digikamUbuntu:Pro:20.04:LTS |
before 4:6.4.0+dfsg-3ubuntu0.1~esm1, plus listed versions 4:5.9.0-1ubuntu44:6.4.0+dfsg-34:6.4.0+dfsg-3build1 |
4:6.4.0+dfsg-3ubuntu0.1~esm1 |
exactimageUbuntu:20.04:LTS |
All versions, plus listed versions 1.0.2-31.0.2-5ubuntu11.0.2-5ubuntu21.0.2-7ubuntu11.0.2-7ubuntu2 |
None known |
kodiUbuntu:20.04:LTS |
All versions, plus listed versions 2:17.6+dfsg1-4ubuntu42:17.6+dfsg1-4ubuntu92:17.6+dfsg1-4ubuntu102:18.5+dfsg1-0ubuntu32:18.6+dfsg1-2ubuntu1 |
None known |
rawtherapeeUbuntu:20.04:LTS |
All versions, plus listed versions 5.6-15.7-15.8-1 |
None known |
darktableUbuntu:22.04:LTS |
All versions, plus listed versions 3.6.0-0ubuntu13.8.0-23.8.0-33.8.0-3build13.8.0-3build23.8.1-13.8.1-2 |
None known |
dcrawUbuntu:22.04:LTS |
All versions, plus listed versions 9.28-29.28-3 |
None known |
exactimageUbuntu:22.04:LTS |
All versions, plus listed versions 1.0.2-81.0.2-8build11.0.2-8build21.0.2-8build3 |
None known |
kodiUbuntu:22.04:LTS |
All versions, plus listed versions 2:19.1+dfsg2-22:19.3+dfsg1-12:19.3+dfsg1-1build22:19.3+dfsg1-1build32:19.3+dfsg1-1build42:19.3+dfsg1-1build52:19.4+dfsg1-2 |
None known |
rawtherapeeUbuntu:22.04:LTS |
All versions, plus listed versions 5.8-3 |
None known |
darktableUbuntu:24.04:LTS |
All versions, plus listed versions 4.4.2-1ubuntu14.4.2-1ubuntu24.4.2-1.14.4.2-1.1build14.6.1-24.6.1-2build34.6.1-2build44.6.1-2ubuntu1 |
None known |
dcrawUbuntu:24.04:LTS |
All versions, plus listed versions 9.28-39.28-3.1ubuntu19.28-5ubuntu1 |
None known |
exactimageUbuntu:24.04:LTS |
All versions, plus listed versions 1.0.2-11build21.0.2-11build31.0.2-11build41.0.2-11build71.0.2-11build81.0.2-11build9 |
None known |
kodiUbuntu:24.04:LTS |
All versions, plus listed versions 2:20.2+dfsg-42:20.2+dfsg-4build12:20.2+dfsg-4build22:20.2+dfsg-4ubuntu12:20.3+dfsg-12:20.4+dfsg-12:20.5+dfsg-1build22:20.5+dfsg-1ubuntu1 |
None known |
rawtherapeeUbuntu:24.04:LTS |
All versions, plus listed versions 5.9-1build15.9-25.10-15.10-1build35.10-1build4 |
None known |
darktableUbuntu:25.10 |
All versions, plus listed versions 5.0.1-0ubuntu15.0.1-0ubuntu25.0.1-15.0.1-2 |
None known |
dcrawUbuntu:25.10 |
All versions, plus listed versions 9.28-8 |
None known |
exactimageUbuntu:25.10 |
All versions, plus listed versions 1.2.1-2 |
None known |
kodiUbuntu:25.10 |
All versions, plus listed versions 2:21.2+dfsg-1build22:21.2+dfsg-42:21.2+dfsg-4build12:21.2+dfsg-4build2 |
None known |
rawtherapeeUbuntu:25.10 |
All versions, plus listed versions 5.11-2build2 |
None known |
darktableUbuntu:26.10 |
All versions, plus listed versions 5.4.1-15.4.1-1build15.4.1-1build2 |
None known |
dcrawUbuntu:26.10 |
All versions, plus listed versions 9.28-8build1 |
None known |
exactimageUbuntu:26.10 |
All versions, plus listed versions 1.2.1-2build21.2.1-3build11.2.1-3build2 |
None known |
kodiUbuntu:26.10 |
All versions, plus listed versions 2:21.3+dfsg-1ubuntu12:21.3+dfsg-1.2 |
None known |
rawtherapeeUbuntu:26.10 |
All versions, plus listed versions 5.12-25.12-2build1 |
None known |
darktableUbuntu:26.04:LTS |
All versions, plus listed versions 5.0.1-25.2.1-15.2.1-1build15.2.1-1build25.4.0-15.4.1-1 |
None known |
dcrawUbuntu:26.04:LTS |
All versions, plus listed versions 9.28-89.28-8build1 |
None known |
exactimageUbuntu:26.04:LTS |
All versions, plus listed versions 1.2.1-21.2.1-2build11.2.1-2build2 |
None known |
kodiUbuntu:26.04:LTS |
All versions, plus listed versions 2:21.2+dfsg-4build22:21.2+dfsg-4build32:21.2+dfsg-52:21.3+dfsg-12:21.3+dfsg-1build12:21.3+dfsg-1ubuntu1 |
None known |
rawtherapeeUbuntu:26.04:LTS |
All versions, plus listed versions 5.11-2build25.12-15.12-2 |
None known |
librawUbuntu:18.04:LTS From an advisory covering 5 CVEs |
before 0.18.8-1ubuntu0.4, plus listed versions 0.18.2-20.18.5-10.18.7-20.18.8-10.18.8-1ubuntu0.10.18.8-1ubuntu0.20.18.8-1ubuntu0.3 |
0.18.8-1ubuntu0.4 |
librawUbuntu:20.04:LTS From an advisory covering 5 CVEs |
before 0.19.5-1ubuntu1.1, plus listed versions 0.19.5-10.19.5-1ubuntu1 |
0.19.5-1ubuntu1.1 |
digikamUbuntu:Pro:16.04:LTS From an advisory covering 9 CVEs |
before 4:4.12.0-0ubuntu7+esm1, plus listed versions 4:4.12.0-0ubuntu54:4.12.0-0ubuntu64:4.12.0-0ubuntu7 |
4:4.12.0-0ubuntu7+esm1 |
digikamUbuntu:Pro:18.04:LTS From an advisory covering 9 CVEs |
before 4:5.6.0-0ubuntu10+esm1, plus listed versions 4:5.6.0-0ubuntu24:5.6.0-0ubuntu34:5.6.0-0ubuntu44:5.6.0-0ubuntu74:5.6.0-0ubuntu84:5.6.0-0ubuntu94:5.6.0-0ubuntu10 |
4:5.6.0-0ubuntu10+esm1 |
digikamUbuntu:Pro:20.04:LTS From an advisory covering 9 CVEs |
before 4:6.4.0+dfsg-3ubuntu0.1~esm1, plus listed versions 4:5.9.0-1ubuntu44:6.4.0+dfsg-34:6.4.0+dfsg-3build1 |
4:6.4.0+dfsg-3ubuntu0.1~esm1 |
digikamUbuntu:Pro:22.04:LTS From an advisory covering 9 CVEs |
before 4:7.5.0-3ubuntu0.1~esm1, plus listed versions 4:7.1.0-24:7.1.0-2ubuntu14:7.4.0-0ubuntu14:7.5.0-0ubuntu14:7.5.0-3fakesync1 |
4:7.5.0-3ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-35532 is a medium vulnerability (CVSS 5.5) in Libraw, published September 1, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 33rd percentile. Fixed in libraw 0.20.0-r0.
References
github.com/LibRaw/LibRaw/issues/271
github.com/LibRaw/LibRaw/commit/5ab45b085898e379fedc6b113e2e82a890602b1e
lists.debian.org/debian-lts-announce/2022/09/msg00024.html
nvd.nist.gov/vuln/detail/CVE-2020-35532
github.com/advisories/GHSA-fc2r-q5xw-m9fm
security.alpinelinux.org/vuln/CVE-2020-35532
Show 15 moreShow less
security-tracker.debian.org/tracker/CVE-2020-35532
ubuntu.com/security/CVE-2020-35532
access.redhat.com/security/cve/CVE-2020-35532
ubuntu.com/security/notices/USN-5715-1
cve.org/CVERecord?id=CVE-2020-35532
ubuntu.com/security/notices/USN-7266-1
ubuntu.com/security/CVE-2020-15503
ubuntu.com/security/CVE-2020-35530
ubuntu.com/security/CVE-2020-35531
ubuntu.com/security/CVE-2020-35533
ubuntu.com/security/CVE-2017-0691
ubuntu.com/security/CVE-2020-19858
ubuntu.com/security/CVE-2020-22628
ubuntu.com/security/CVE-2021-32142
ubuntu.com/security/CVE-2023-1729