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

EPSS: 0.028 (85.1th percentile) — read the EPSS interpretation.

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.

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.