Integer overflow in Libraw

CVE-2018-5816

An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.12 can be exploited to trigger a division by zero via specially crafted NOKIARAW file (Note: This vulnerability is caused due to an incomplete fix of CVE-2018-5804).

Vulnerability class: Integer Overflow

EPSS: 0.021 (79.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-5816?
CVE-2018-5816 is a medium-severity vulnerability in Libraw, classified under Integer Overflow or Wraparound. CVSS score: 6.5/10. Published 2018-12-07.
How severe is CVE-2018-5816?
Medium severity. CVSS v3 base score is 6.5 out of 10.