Buffer overflow in Libretro Retroarch
CVE-2025-9136
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 14.3th percentile
- Published
- 2025-08-19
A flaw has been found in libretro RetroArch 1.18.0/1.19.0/1.20.0. This affects the function filestream_vscanf of the file libretro-common/streams/file_stream.c. This manipulation causes out-of-bounds read. The attack needs to be launched locally. Upgrading to version 1.21.0 mitigates this issue. It is recommended to upgrade the affected component.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.002, 14.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libretro Retroarch — versions 1.18.0, 1.19.0, 1.20.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-320516 | libretro RetroArch file_stream.c filestream_vscanf out-of-bounds (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-320516 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #617657 | libretro RetroArch v1.20.0/v1.19.0/v1.18.0 Out-of-Bounds Read (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/libretro/RetroArch/pull/17555 (issue-tracking, Patch, Issue Tracking)
- github.com/libretro/RetroArch/pull/17555 (issue-tracking, Patch, Issue Tracking)
- github.com/libretro/RetroArch/pull/17555/commits/6446f045ec7fc6a5cac3e8ec35a2f0… (issue-tracking, Patch, patch)
- github.com/libretro/RetroArch/releases/tag/v1.21.0 (Release Notes, patch)