Buffer overflow in Libraw

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 stack-based buffer overflow and subsequently execute arbitrary code.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.028 (86.1th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 86.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2018-5808: held from 0.028 to 0.028.

EPSS over last 30 days · oldest: 0.028 · newest: 0.028 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-5808?
CVE-2018-5808 is a high-severity vulnerability in Libraw, classified under Out-of-bounds Write. CVSS score: 8.8/10. Published 2018-12-07.
How severe is CVE-2018-5808?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2018-5808 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.