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
- Libraw
- Canonical Ubuntu_linux — versions 14.04, 16.04, 18.04
- N/a Libraw — versions Prior to 0.18.12
Weakness classification (CWE)
References
- PSIRT-CNA@flexerasoftware.com (Third Party Advisory, x_refsource_MISC)
- PSIRT-CNA@flexerasoftware.com (Patch, Third Party Advisory, x_refsource_MISC)
- PSIRT-CNA@flexerasoftware.com (Third Party Advisory, x_refsource_MISC)
- PSIRT-CNA@flexerasoftware.com (x_refsource_UBUNTU, vendor-advisory, Third Party Advisory)
- PSIRT-CNA@flexerasoftware.com (Permissions Required, x_refsource_SECUNIA, 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.