Back
CVE-2018-5808
An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a…
High8.8EPSS 2.8%
- Published
- Updated
- Reserved
- Assigned by
- flexera
Description
An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 2.8% · top 13% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.8.
Weakness
- Arbitrary code execution through stack-based buffer overflow
- CWE-787 (opens in a new tab)All about CWE-787 and its CVEs
Affected products
LibRaw
- affected Prior to 0.18.9
References (5)
- https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt (opens in a new tab)x_refsource_MISCx_transferred
- 81800 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9 (opens in a new tab)x_refsource_MISCx_transferred
- https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/ (opens in a new tab)x_refsource_MISCx_transferred
- [debian-lts-announce] 20190328 [SECURITY] [DLA 1734-1] libraw security update (opens in a new tab)mailing-listx_refsource_MLISTx_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)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-5808)Record last updated .