# CVE-2018-5816: libraw16: An integer overflow error within the "identify()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0....

CVE-2018-5816 is fixed in 2 products on 1 platform, first by libraw-bin 0.18.8-1ubuntu0.2, released December 7, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-5816
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0211
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 30, 2018

## Description

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).

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libraw-bin Ubuntu 18.04.6 LTS (bionic) | 0.18.8-1ubuntu0.2 | [libraw-bin 0.18.8-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libraw-bin-0.18.8-1ubuntu0.2.md) | Dec 7, 2018 |
| Linux | libraw16 Ubuntu 18.04.6 LTS (bionic) | 0.18.8-1ubuntu0.2 | [libraw16 0.18.8-1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libraw16-0.18.8-1ubuntu0.2.md) | Dec 7, 2018 |

---

Data as of 2026-11-07T18:46:35Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
