CVE-2018-5816: Integer Overflow
Published Dec 7, 2018
·Updated
An integer overflow error within the "identify()" function (internal/dcrawcommon.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).
Affected Software
5 affected componentsFixes available
Libraw Libraw<0.18.12
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
debian/libraw
0.20.2-1+deb11u10.20.2-1+deb11u20.20.2-2.1+deb12u10.21.4-20.21.5b-1
Remediation
Event History
Dec 7, 2018
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionWeakness
Data Sourced
via NVD·10:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:08 PM
Description
Feb 21, 2026
Data Sourced
via Ubuntu·08:26 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·08:26 PM
DescriptionAffected Software
Frequently Asked Questions
1
What is CVE-2018-5816?
CVE-2018-5816 is an integer overflow vulnerability in the identify() function in LibRaw versions prior to 0.18.12.
2
How does CVE-2018-5816 affect LibRaw?
CVE-2018-5816 can be exploited to trigger a division by zero via a specially crafted NOKIARAW file.
3
What is the severity of CVE-2018-5816?
CVE-2018-5816 has a severity rating of 6.5 (high).
4
Which software versions are affected by CVE-2018-5816?
LibRaw versions prior to 0.18.12 are vulnerable to CVE-2018-5816.
5
How can I fix CVE-2018-5816?
To fix CVE-2018-5816, update to LibRaw version 0.18.12 or later.