Out-of-bounds Read in Libraw
CVE-2018-5802
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.020 (79.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
Affected products
- Libraw
- Canonical Ubuntu Linux — versions 14.04, 16.04, 17.10
- Debian Linux — versions 8.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
- Libraw — versions Prior to 0.18.7
Weakness classification (CWE)
References
- github.com/LibRaw/LibRaw/blob/master/Changelog.txt (Release Notes)
- secuniaresearch.flexerasoftware.com/secunia_research/2018-1/ (Third Party Advisory)
- secuniaresearch.flexerasoftware.com/advisories/79000/ (Third Party Advisory, third-party-advisory)
- access.redhat.com/errata/RHSA-2018:3065 (vendor-advisory, Third Party Advisory)
- usn.ubuntu.com/3615-1/ (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2019/03/msg00036.html (mailing-list, Mailing List, Third Party Advisory)
- github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2018-5802?
- CVE-2018-5802 is a high-severity vulnerability in Libraw, classified under Out-of-bounds Read. CVSS score: 8.8/10. Published 2018-12-07.
- How severe is CVE-2018-5802?
- High severity. CVSS v3 base score is 8.8 out of 10.