Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
Priority MEDIUM 41CWE-787Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
Why it matters now
EPSS 0.01625 76th percentileScored 2026-11-07
Fix Partial Red Hat: 1 advisoryRed Hat: 2 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 1 advisory
- RHSA-2021:4381 Released 2021-11-09 · Red Hat rating ModerateGNOME security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) LibRaw-devel-0.19.5-3.el8
- Red Hat Enterprise Linux AppStream (v. 8) LibRaw-0.19.5-3.el8, gnome-autoar-0.2.3-2.el8, webkit2gtk3-2.32.3-2.el8 +3
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2021:4381 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:4381 |
Not affected: 6 products
- Red Hat CodeReady Linux Builder (v. 8)
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux AppStream (v. 8)
- Red Hat Enterprise Linux BaseOS (v. 8)
Timeline
- 2026-10-02 Threatist record created from CVE-2020-24870
- 2026-10-03 Alias added: GHSA-p736-65cp-9pj8
References
More Libraw vulnerabilities
- TI-2026-04674 LibRaw TIFF/NEF decoders_libraw.cpp nikon_load_padded_packed_raw out-of-bounds CVSS 4.0MEDIUM 6.9
- TI-2020-14361 Buffer Overflow vulnerability in LibRaw::stretch() function in libraw\src\postprocessing\aspect_ratio.cpp. CVSS 3.1MEDIUM 6.5
- TI-2026-04650 LibRaw JPEG DHT losslessjpeg.cpp initval out-of-bounds write CVSS 4.0MEDIUM 5.3
- TI-2015-06888 The phase_one_correct function in Libraw before 0.17.1 allows attackers to cause memory… CVSS 3.1CRITICAL 9.8
- TI-2026-16934 A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality… CVSS 3.1CRITICAL 9.8
- TI-2026-16915 Integer overflow in LibRaw CVSS 3.1CRITICAL 9.8
Sources
- CVE-2020-24870 · CVE Program
- CVE-2020-24870 · NVD
- FIRST EPSS
- GHSA-p736-65cp-9pj8 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-24870 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences