libretro RetroArch
cpe:2.3:a:libretro:retroarch:*:*:*:*:*:*:*
- 1.18.0
- 1.19.0
- 1.20.0
A vulnerability allowing out-of-bounds read has been identified in libretro RetroArch versions 1.18.0, 1.19.0, and 1.20.0. The issue arises in the filestream_vscanf function within the file libretro-common/streams/file_stream.c. This vulnerability is caused by improper handling of the return value from sscanf(), which can lead to the use of an uninitialized or attacker-controlled variable. Exploitation of this flaw requires local access.
Exploitation of this vulnerability causes an out-of-bounds read, which can lead to memory leaks, exposure of sensitive data, or application instability.
The vulnerability can be reproduced by crafting malicious format strings that are passed to the filestream_vscanf function. These format strings can manipulate the sublen variable, which is used to control a buffer iterator, leading to out-of-bounds memory access.
Users are advised to upgrade to libretro RetroArch version 1.21.0, which addresses this vulnerability.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.