Out-of-bounds write in LibRaw - CVE-2018-5802
Published: April 11, 2018
Vulnerability identifier: #VU11768
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-5802
CWE-ID: CWE-787
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 "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable due to incorrect handling of photo files. A remote attacker can submit a specially crafted photo file, trigger out-of-bounds write 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 "kodak_radc_load_raw()" function (internal/dcraw_common.cpp) related to the "buf" variable due to incorrect handling of photo files. A remote attacker can submit a specially crafted photo file, trigger out-of-bounds write 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
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power
How to mitigate CVE-2018-5802
Update to version 0.18.7.