# CVE-2018-5808

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-12-07 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2018-5808, DEBIAN-CVE-2018-5808
- Record: https://cvemate.com/vulnerability/CVE-2018-5808 · JSON: https://cvemate.com/vulnerability/CVE-2018-5808/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 2.808%, percentile 86.959%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian libraw (Debian): \< 0.18.11-1
- ubuntu darktable (Ubuntu): All versions (No fix recorded)
- ubuntu dcraw (Ubuntu): All versions (No fix recorded)
- ubuntu exactimage (Ubuntu): All versions (No fix recorded)
- ubuntu kodi (Ubuntu): All versions (No fix recorded)
- ubuntu libraw (Ubuntu): \< 0.15.4-1ubuntu0.3 \| \< 0.17.1-1ubuntu0.4 \| \< 0.18.8-1ubuntu0.2
- ubuntu rawtherapee (Ubuntu): All versions (No fix recorded)
- ubuntu ufraw (Ubuntu): All versions (No fix recorded)
- debian debian\_linux: 8.0
- libraw libraw: \< 0.18.9

## References

- <https://github.com/LibRaw/LibRaw/blob/master/Changelog.txt>
- <https://secuniaresearch.flexerasoftware.com/advisories/81800/>
- <https://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9>
- <https://secuniaresearch.flexerasoftware.com/secunia_research/2018-9/>
- <https://lists.debian.org/debian-lts-announce/2019/03/msg00036.html>
- <https://ubuntu.com/security/CVE-2018-5808>
- <https://ubuntu.com/security/notices/USN-3838-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-5808>
- <https://security-tracker.debian.org/tracker/CVE-2018-5808>

---

Data as of 2026-12-05T05:27:20.272Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
