CVE-2020-24870: Libraw - Buffer Overflow
- Cve: CVE-2020-24870
- Name: Libraw - Buffer Overflow
- Description: Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
- Impact: Attackers can execute arbitrary code or cause a denial of service by exploiting the buffer overflow.
- Remediation: Update to version 0.20.1 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01625
- Epss percentile: 0.7679
- Assignee: [email protected]
- Published at: 2021-06-02T16:15:08Z
- Age in days: 2001
- Modified at: 2026-06-17T03:06:07Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-24870
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-787 | Out-of-bounds Write |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d | Patch, Third Party Advisory |
| https://github.com/LibRaw/LibRaw/issues/330 | Third Party Advisory |
| https://security.gentoo.org/glsa/202208-07 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libraw:libraw | < 0.20.1 | no | nvd | /v1/products/libraw/libraw |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| libraw/libraw | commit, issues | yes | /v1/repositories/libraw/libraw |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts