Buffer overflow in Libraw
CVE-2018-5800
An off-by-one error within the "LibRaw::kodak_ycbcr_load_raw()" function (internal/dcraw_common.cpp) in LibRaw versions prior to 0.18.7 can be exploited to cause a heap-based buffer overflow and subsequently cause a crash.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.025, 85.3th percentile (scored ); unchanged over 30 days. About EPSS.
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)
- www.securityfocus.com/bid/104663 (Third Party Advisory, VDB Entry, vdb-entry)
- RHSA-2018:3065 (vendor-advisory, Third Party Advisory)
- USN-3615-1 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20190328 [SECURITY] [DLA 1734-1] libraw security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/LibRaw/LibRaw/commit/8682ad204392b914ab1cc6ebcca9c27c19c1a4b4 (Patch, Vendor Advisory)