# CVE-2020-35531: In LibRaw, an out-of-bounds read vulnerability exists within the gethuffmandiff() function (libraw\src\x3f\x3futilspatched.cpp) when readin…

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-02)
- Published: 2022-09-01T17:52:06.000Z
- Modified: 2026-06-17T03:13:52.477Z
- Weaknesses: CWE-125
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- LibRaw: LibRaw 0.21-Beta1, LibRaw 0.20.2, LibRaw 0.20.1, LibRaw 0.20.0, LibRaw 0.20-RC2
- libraw libraw: 0.20.0; 0.20.1; 0.20.2; 0.21.0
- debian debian_linux: 10.0

## References

- <https://github.com/LibRaw/LibRaw/issues/270> (issue-tracking, patch, third-party-advisory)
- <https://github.com/LibRaw/LibRaw/commit/d75af00681a74dcc8b929207eb895611a6eceb68> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/09/msg00024.html> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2020-35531](https://www.cve.org/CVERecord?id=CVE-2020-35531), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-35531](https://nvd.nist.gov/vuln/detail/CVE-2020-35531), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-35531 · Whole record: https://cve.day/CVE-2020-35531.json · Rebuilt by cve.day 2026-11-25T22:57:58.714Z
