CVE-2020-35535: Medium severity Libraw Libraw vulnerability

Published Sep 1, 2022
·
Updated

In LibRaw, there is an out-of-bounds read vulnerability within the "LibRaw::parseSonySRF()" function (libraw\src\metadata\sony.cpp) when processing srf files.

Affected Software

13 affected componentsFixes available
Libraw Libraw=0.20.0
Libraw Libraw=0.20.0-rc2
Libraw Libraw=0.20.1
Libraw Libraw=0.20.2
Libraw Libraw=0.21.0-beta1
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0
alpine/libraw<0.20.0-r0
0.20.0-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/libraw to a version that resolves this vulnerability.

    Fixed in 0.20.0-r0

Event History

Sep 1, 2022
CVE Published
via MITRE·05:54 PM
Data Sourced
via MITRE·05:54 PM
DescriptionWeakness
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·06:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2020-35535?

CVE-2020-35535 is an out-of-bounds read vulnerability in LibRaw's parseSonySRF() function when processing srf files.

2

How does CVE-2020-35535 affect LibRaw?

CVE-2020-35535 affects LibRaw versions 0.20.0 to 0.20.2 and 0.21.0-beta1. It allows an attacker to read data outside the bounds of an allocated buffer, potentially leading to information disclosure or denial of service.

3

What is the severity of CVE-2020-35535?

CVE-2020-35535 has a severity rating of 5.5 (medium).

4

How can I fix CVE-2020-35535?

To fix CVE-2020-35535, upgrade to LibRaw version 0.20.3 or later.

5

Where can I find more information about CVE-2020-35535?

You can find more information about CVE-2020-35535 at the following references: [GitHub Commit](https://github.com/LibRaw/LibRaw/commit/c243f4539233053466c1309bde606815351bee81) and [GitHub Issue](https://github.com/LibRaw/LibRaw/issues/283).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203