Vulnerabilities · 2018 · Libraw
CVE-2018-5816
Libraw vulnerability
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).
Affected products
Libraw, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libraw runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/LibRaw/LibRaw/commit/1d8d1b452e5dc74033ee9f846081a0efb616cc39 · Patch
- github.com/LibRaw/LibRaw/blob/master/Changelog.txt · Third Party Advisory
- secuniaresearch.flexerasoftware.com/advisories/83507/ · Third Party Advisory
- secuniaresearch.flexerasoftware.com/secunia_research/2018-14/ · Third Party Advisory
- usn.ubuntu.com/3838-1/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-5816
- cve.org/CVERecord?id=CVE-2018-5816
More vulnerabilities in Libraw products
CVE-2025-43964CVE-2025-43963CVE-2025-43962CVE-2025-43961CVE-2023-1729CVE-2021-32142CVE-2020-35535CVE-2020-35534All 57
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.