Out-of-bounds Read in Libraw

CVE-2020-35531

In LibRaw, an out-of-bounds read vulnerability exists within the get_huffman_diff() function (libraw\src\x3f\x3f_utils_patched.cpp) when reading data from an image file.

Vulnerability class: Buffer Overflow

EPSS: 0.003 (20.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

  • Libraw — versions 0.20.0, 0.20.1, 0.20.2
  • Debian Debian_linux — versions 10.0
  • N/a Libraw — versions LibRaw 0.21-Beta1, LibRaw 0.20.2, LibRaw 0.20.1, LibRaw 0.20.0, LibRaw 0.20-RC2

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-35531?
CVE-2020-35531 is a medium-severity vulnerability in Libraw, classified under Out-of-bounds Read. CVSS score: 5.5/10. Published 2022-09-01.
How severe is CVE-2020-35531?
Medium severity. CVSS v3 base score is 5.5 out of 10.
Is CVE-2020-35531 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.