#VU16662 Stack-based buffer overflow in LibRaw


Published: 2018-12-24

Vulnerability identifier: #VU16662

Vulnerability risk: Low

CVSSv3.1: 8.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2018-5808

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
LibRaw
Universal components / Libraries / Libraries used by multiple products

Vendor: LibRaw LLC

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error within the find_green() function, as defined in the internal/dcraw_common.cpp source code file in LibRaw versions prior to 0.18.9. A remote attacker can trick the victim into processing a specially crafted input, trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

LibRaw: 0.11.0-Release - 0.18.8


External links
http://github.com/LibRaw/LibRaw/blob/master/Changelog.txt
http://github.com/LibRaw/LibRaw/commit/fd6330292501983ac75fe4162275794b18445bd9


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability