NULL pointer dereference in LibRaw - CVE-2018-5801
Published: April 11, 2018
Vulnerability identifier: #VU11767
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5801
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition or execute arbitrary code on the target system.
The weakness exists in the unpack function src/libraw_cxx.cpp due to incorrect handling of photo files. A remote attacker can submit a specially crafted photo file, trigger NULL pointer dereference and cause the service to crash or execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists in the unpack function src/libraw_cxx.cpp due to incorrect handling of photo files. A remote attacker can submit a specially crafted photo file, trigger NULL pointer dereference and cause the service to crash or execute arbitrary code.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
LibRaw
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power
Fedora
dcraw
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power
Fedora
dcraw
How to mitigate CVE-2018-5801
Update to version 0.18.7.
dcraw - addressed in versions 9.28.0-1.fc27, 9.28.0-1.fc28