Infinite loop in LibRaw - CVE-2018-5818
Published: February 1, 2019
Vulnerability identifier: #VU17352
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-5818
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to infinite loop in the parse_rollei function of dcraw_common.cpp. A remote attacker can trick the victim into opening a specially crafted input and perform DoS attack.
Affected software
LibRaw
libraw (Ubuntu package)
libraw (Alpine package)
Opensuse
libraw (Ubuntu package)
libraw (Alpine package)
Opensuse
How to mitigate CVE-2018-5818
Install updates from vendor's website.
libraw (Ubuntu package) - addressed in versions 0.17.1-1ubuntu0.5, 0.18.8-1ubuntu0.3, 0.18.13-1ubuntu0.1