There is a stack-based buffer overflow in the parse_makernote function of…
Priority MEDIUM 42CWE-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
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.
Summary
There is a stack-based buffer overflow in the parse_makernote function of dcraw_common.cpp in LibRaw 0.19.1. Crafted input will lead to a denial of service or possibly unspecified other impact.
Why it matters now
EPSS 0.02145 82nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Red Hat: 1 advisory
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-2020:1766 Released 2020-04-28 · Red Hat rating ModerateGNOME security, bug fix, and enhancement update
- Red Hat CodeReady Linux Builder (v. 8) LibRaw-0.19.5-1.el8, LibRaw-devel-0.19.5-1.el8, accountsservice-devel-0.6.50-8.el8 +14
- Red Hat Enterprise Linux AppStream (v. 8) LibRaw-0.19.5-1.el8, accountsservice-0.6.50-8.el8, accountsservice-libs-0.6.50-8.el8 +47
- Red Hat Enterprise Linux BaseOS (v. 8) gsettings-desktop-schemas-3.32.0-4.el8, libxslt-1.1.32-4.el8, mozjs52-52.9.0-2.el8 +1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat CodeReady Linux Builder (v. 8) | Fixed | RHSA-2020:1766 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:1766 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2020:1766 |
Not affected: 1 product
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2018-20337
- 2026-10-03 Alias added: GHSA-c9h6-p6mv-6rr7
References
Advisory 1
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-2018-20337 · CVE Program
- CVE-2018-20337 · NVD
- FIRST EPSS
- GHSA-c9h6-p6mv-6rr7 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-20337 · 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