CVE-2020-24870 json
Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
published 2021-06-02 5 y ago modified 2026-06-17 4 mo ago also EUVD-2020-17578
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
Libraw before 0.20.1 has a stack buffer overflow via LibRaw::identify_process_dng_fields in identify.cpp.
Patch / fix
- libraw libraw 0.20.1
- libraw Debian 14, Debian 13, Debian 12 0.20.2-1
debian advisories DEBIAN-CVE-2020-24870
- LibRaw RHEL 8 0.19.5-3.el8
- webkit2gtk3 RHEL 8 2.32.3-2.el8
- gnome-autoar RHEL 8 0.2.3-2.el8
- webkit2gtk3-jsc RHEL 8 2.32.3-2.el8
red hat advisories RHSA-2021:4381
- gdm AlmaLinux 8 1:40.0-15.el8
- gtk3 AlmaLinux 8 3.22.30-8.el8
- vino AlmaLinux 8 3.22.0-11.el8
- LibRaw AlmaLinux 8 0.19.5-3.el8
- mutter AlmaLinux 8 3.32.2-60.el8
- gnome-shell AlmaLinux 8 3.32.2-40.el8
- webkit2gtk3 AlmaLinux 8 2.32.3-2.el8
- gnome-autoar AlmaLinux 8 0.2.3-2.el8
almalinux advisories ALSA-2021:4381
- gdm Rocky Linux 8 1:40.0-15.el8
- gtk3 Rocky Linux 8 3.22.30-8.el8
- vino Rocky Linux 8 3.22.0-11.el8
- LibRaw Rocky Linux 8 0.19.5-3.el8
- mutter Rocky Linux 8 3.32.2-60.el8
- gnome-shell Rocky Linux 8 3.32.2-40.el8
- webkit2gtk3 Rocky Linux 8 2.32.3-2.el8
- gnome-autoar Rocky Linux 8 0.2.3-2.el8
rocky linux advisories RLSA-2021:4381
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-24870 updated cvss 8.1
LibRaw: Stack buffer overflow in LibRaw::identify_process_dng_fields() in identify.cpp
-
Red Hat Enterprise Linux 6 dcraw Red Hat Enterprise Linux 7 dcraw, libkdcrawaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) LibRaw-devel 0.19.5-3.el8, LibRaw-debuginfo 0.19.5-3.el8, LibRaw-debugsource 0.19.5-3.el8, LibRaw-samples-debuginfo 0.19.5-3.el8 Red Hat Enterprise Linux AppStream (v. 8) LibRaw 0.19.5-3.el8fixed: vendor fix RHSA-2021:4381
-
Red Hat CodeReady Linux Builder (v. 8) gnome-software 3.36.1-10.el8 Red Hat Enterprise Linux 7 LibRaw Red Hat Enterprise Linux 8 dcraw Red Hat Enterprise Linux 9 dcraw, LibRaw Red Hat Enterprise Linux AppStream (v. 8) gdm 40.0-15.el8, gtk3 3.22.30-8.el8, vino 3.22.0-11.el8, mutter 3.32.2-60.el8, gnome-autoar 0.2.3-2.el8, webkit2gtk3 2.32.3-2.el8, +42 more Red Hat Enterprise Linux BaseOS (v. 8) gsettings-desktop-schemas 3.32.0-6.el8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.63% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/LibRaw/LibRaw/commit/4feaed4dea636cee4fee010f615881ccf76a096d
patch, third-party-advisory
-
security.gentoo.org
/glsa/202208-07
vendor-advisory, third-party-advisory
-
github.com
/LibRaw/LibRaw/issues/330
third-party-advisory
Sources
- CVE List CVE-2020-24870
- NVD CVE-2020-24870
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.