Back
CVE-2018-5804
A type confusion error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to…
Medium6.5EPSS 1.7%
- Published
- Updated
- Reserved
- Assigned by
- flexera
Description
A type confusion error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.8 can be exploited to trigger a division by zero.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.7% · top 23% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
- DoS (Denial of Service) through division by zero
- CWE-369 (opens in a new tab)
- CWE-704 (opens in a new tab)
Affected products
LibRaw
- affected Prior to 0.18.8
References (4)
- 81000 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/LibRaw/LibRaw/commit/9f26ce37f5be86ea11bfc6831366558650b1f6ff (opens in a new tab)x_refsource_MISCx_transferred
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-3/ (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .