Out-of-bounds write in LibRaw - CVE-2020-35530
Published: November 11, 2022
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input within the new_node() function in librawsrcx3fx3f_utils_patched.cpp. A remote attacker can create a specially crafted X3F file, trick the victim into opening it using the affected software, trigger out-of-bounds write and execute arbitrary code on the target system.
Affected software
Ubuntu
libraw16 (Ubuntu package)
libraw19 (Ubuntu package)
How to mitigate CVE-2020-35530
libraw16 (Ubuntu package) - update to 0.18.8-1ubuntu0.4
libraw19 (Ubuntu package) - update to 0.19.5-1ubuntu1.1