# CVE-2020-24870: Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identifyprocessdngfields in identify.cpp.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/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): 1.63%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-06-02T15:32:11.000Z
- Modified: 2026-06-17T03:06:07.153Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- libraw libraw: before 0.20.1

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/LibRaw/LibRaw/issues/330> (third-party-advisory)
- <https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d> (patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202208-07> (third-party-advisory, vendor-advisory)

## Sources

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

---

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