# CVE-2018-20365

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

## Description

```text
LibRaw::raw2image() in libraw_cxx.cpp has a heap-based buffer overflow.
```

## Signals

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

## Affected

- alpine libraw (Alpine Linux): \< 0.19.2-r0
- debian libraw (Debian): \< 0.19.2-2
- 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.17.1-1ubuntu0.5 \| \< 0.18.8-1ubuntu0.3
- ubuntu rawtherapee (Ubuntu): All versions (No fix recorded)
- ubuntu ufraw (Ubuntu): All versions (No fix recorded)
- libraw libraw: ≤ 0.19.1

## References

- <http://www.securityfocus.com/bid/106299>
- <https://github.com/LibRaw/LibRaw/issues/195>
- <https://usn.ubuntu.com/3989-1/>
- <https://ubuntu.com/security/CVE-2018-20365>
- <https://ubuntu.com/security/notices/USN-3989-1>
- <https://www.cve.org/CVERecord?id=CVE-2018-20365>
- <https://security-tracker.debian.org/tracker/CVE-2018-20365>
- <https://security.alpinelinux.org/vuln/CVE-2018-20365>

---

Data as of 2026-12-05T05:21:13.126Z. 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
