Out-of-bounds read in LibRaw - CVE-2018-5807

 

Out-of-bounds read in LibRaw - CVE-2018-5807

Published: December 25, 2018 / Updated: January 3, 2019


Vulnerability identifier: #VU16693
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5807
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local attacker to cause DoS condition on the target system.

The vulnerability exists due to an out-of-bounds read condition within the "samsung_load_raw()" function (internal/dcraw_common.cpp) . A local attacker can supply a specially crafted input and cause the service to crash.


Affected software

LibRaw
Debian Linux
Ubuntu
Opensuse
libraw9 (Ubuntu package)
libraw (Debian package)
libraw15 (Ubuntu package)
libraw16 (Ubuntu package)

How to mitigate CVE-2018-5807

Install update from vendor's website.

LibRaw - update to 0.18.9
libraw9 (Ubuntu package) - update to 0.15.4-1ubuntu0.3
libraw (Debian package) - update to 0.16.0-9+deb8u4
libraw15 (Ubuntu package) - update to 0.17.1-1ubuntu0.4
libraw16 (Ubuntu package) - update to 0.18.8-1ubuntu0.2

External References

Related Security Bulletins