# CVE-2018-5808: libraw16: An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exp...

CVE-2018-5808 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-5808
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.0281
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 7, 2018

## Description

An error within the "find_green()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.9 can be exploited to cause a stack-based buffer overflow and subsequently execute arbitrary code.

## 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-07T12:40:37Z 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
