Out-of-bounds read in LibRaw - CVE-2020-35532

 

Out-of-bounds read in LibRaw - CVE-2020-35532

Published: November 11, 2022


Vulnerability identifier: #VU69255
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-2020-35532
CWE-ID: CWE-125
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 a boundary condition within the simple_decode_row() function in librawsrcx3fx3f_utils_patched.cpp. A remote attacker can trick the victim to open a specially crafted file, trigger an out-of-bounds read error and crash the application.


Affected software

LibRaw
Ubuntu
libraw16 (Ubuntu package)
libraw19 (Ubuntu package)

How to mitigate CVE-2020-35532

Install updates from vendor's website.

LibRaw - update to 0.20.0
libraw16 (Ubuntu package) - update to 0.18.8-1ubuntu0.4
libraw19 (Ubuntu package) - update to 0.19.5-1ubuntu1.1

External References

Related Security Bulletins