# CVE-2018-5809

- 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-5809, DEBIAN-CVE-2018-5809
- Record: https://cvemate.com/vulnerability/CVE-2018-5809 · JSON: https://cvemate.com/vulnerability/CVE-2018-5809/json

## Description

```text
An error within the "LibRaw::parse_exif()" 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.786%, percentile 86.859%, 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)
- 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://ubuntu.com/security/CVE-2018-5809>
- <https://ubuntu.com/security/notices/USN-3838-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-5809>
- <https://security-tracker.debian.org/tracker/CVE-2018-5809>

---

Data as of 2026-12-05T10:10:03.973Z. 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
