CVE-2018-5802Libraw
High 8.8 No auth needed
Follow: this CVE · Libraw · Libraw We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 81
- Auth required
- No
- Published
- Dec 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
An error within the "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable in LibRaw versions prior to 0.18.7 can be exploited to cause an out-of-bounds read memory access and subsequently cause a crash.
What to do
- Apply the vendor's security update for Libraw.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| libraw | libraw | < 0.18.7 |
| redhat | enterprise_linux_desktop | 7.0 |
| redhat | enterprise_linux_server | 7.0 |
| redhat | enterprise_linux_workstation | 7.0 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- github.com Release Notes
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- secuniaresearch.flexerasoftware.com Third Party Advisory
- secuniaresearch.flexerasoftware.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory