CVE-2018-5806 json
An error within the "leaf_hdr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigg…
published 7y ago modified 4mo ago also EUVD-2018-17573
- cvss
- 6.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
An error within the "leaf_hdr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a NULL pointer dereference.
Patch / fix
- libraw libraw 0.18.8
- libraw Debian 14, Debian 13, Debian 12 0.18.8-1
debian advisories DEBIAN-CVE-2018-5806
- libraw Ubuntu 14.04 LTS 0.15.4-1ubuntu0.2
- libraw Ubuntu 16.04 LTS 0.17.1-1ubuntu0.2
ubuntu advisories UBUNTU-CVE-2018-5806
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libkdcraw RHEL 7 4.10.5-5.el7
red hat advisories RHSA-2018:3065
- dcraw SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 9.28.0-3.3.1
- dcraw openSUSE Leap 15.3 9.28.0-150000.3.3.1
- libraw SLED 12 SP4, SLED 12 SP3, SLE Workstation Extension 12 SP4 +3 more 0.15.4-27.1
suse advisories SUSE-SU-2022:1749-1SUSE-SU-2022:1277-1SUSE-SU-2019:0002-1
- dcraw openSUSE Tumbleweed 9.28.0-2.1
opensuse advisories openSUSE-SU-2024:11997-1
Is CVE-2018-5806 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-5806 updated cvss 3.3
LibRaw: NULL pointer dereference in leaf_hdr_load_raw() function in internal/dcraw_common.cpp
-
Red Hat Enterprise Linux 7 dcraw Red Hat Enterprise Linux 8 dcrawaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) libkdcraw 4.10.5-5.el7 Red Hat Enterprise Linux Client Optional (v. 7) libkdcraw-devel 4.10.5-5.el7, libkdcraw-debuginfo 4.10.5-5.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) libkdcraw 4.10.5-5.el7 Red Hat Enterprise Linux Server (v. 7) libkdcraw 4.10.5-5.el7 Red Hat Enterprise Linux Workstation (v. 7) libkdcraw 4.10.5-5.el7fixed: vendor fix RHSA-2018:3065
-
Red Hat Enterprise Linux 5 dcraw Red Hat Enterprise Linux 6 dcraw Red Hat Enterprise Linux 7 LibRaw Red Hat Enterprise Linux 8 LibRawnot 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.69% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- n/a LibRaw
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
github.com
/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff
patch
-
access.redhat.com
/errata/RHSA-2018:3065
vendor-advisory, third-party-advisory
-
secuniaresearch.flexerasoftware.com
/advisories/81000/
third-party-advisory
-
github.com
/LibRaw/LibRaw/blob/master/Changelog.txt
release-notes
-
secuniaresearch.flexerasoftware.com
/secunia_research/2018-3/
third-party-advisory
Sources
- CVE List CVE-2018-5806
- NVD CVE-2018-5806
Fencer Intel 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.