NULL pointer dereference in LibRaw - CVE-2018-5812

 

NULL pointer dereference in LibRaw - CVE-2018-5812

Published: December 24, 2018


Vulnerability identifier: #VU16666
CSH Severity: Low
CVSS v4.0: 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/E:P/U:Clear
CVE-ID: CVE-2018-5812
CWE-ID: CWE-476
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: LibRaw LLC
Affected software:
LibRaw

Detailed vulnerability description

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

The vulnerability exists due to insufficient validation of user-supplied input processed by the nikon_coolscan_load_raw() function, as defined in the internal/dcraw_common.cpp source code file in LibRaw versions prior to 0.18.9. A local attacker can supply a specially crafted input, trigger a NULL pointer dereference and cause the service to crash.


How to mitigate CVE-2018-5812

Install update from vendor's website.

Sources