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
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.021 (81.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 81st percentile — 81.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.021 · newest: 0.021 · change: 0.000
Affected products
- Libraw
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Libraw — versions Prior to 0.18.12
Weakness classification (CWE)
References
- secuniaresearch.flexerasoftware.com/secunia_research/2018-14/ (Third Party Advisory)
- github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39 (Patch, Third Party Advisory)
- github.com/LibRaw/LibRaw/blob/master/Changelog.txt (Third Party Advisory)
- usn.ubuntu.com/3838-1/ (vendor-advisory, Third Party Advisory)
- secuniaresearch.flexerasoftware.com/advisories/83507/ (Permissions Required, Third Party Advisory, third-party-advisory)
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.