Vulnerability · Published Aug 19, 2025 · Assigned by VulDB
CVE-2025-9136libretro RetroArch file_stream.c filestream_vscanf out-of-bounds
Medium 5.3
In plain English
A medium-severity out-of-bounds read in RetroArch from libretro. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | retroarch | no fix listed | DEBIAN-CVE-2025-9136 |
| Debian:13 | retroarch | no fix listed | DEBIAN-CVE-2025-9136 |
| Debian:14 | retroarch | 1.20.0+dfsg-3 | DEBIAN-CVE-2025-9136 |
| Ubuntu:22.04:LTS | retroarch | no fix listed | UBUNTU-CVE-2025-9136 |
| Ubuntu:25.10 | retroarch | no fix listed | UBUNTU-CVE-2025-9136 |
| Ubuntu:26.04:LTS | retroarch | no fix listed | UBUNTU-CVE-2025-9136 |
| Ubuntu:26.10 | retroarch | no fix listed | UBUNTU-CVE-2025-9136 |
Affected products (as reported)
Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:X/RL:O/RC:C
References
- VDB-320516 | libretro RetroArch file_stream.c filestream_vscanf out-of-bounds vdb-entry, technical-description
- VDB-320516 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #617657 | libretro RetroArch v1.20.0/v1.19.0/v1.18.0 Out-of-Bounds Read third-party-advisory
- https://github.com/libretro/RetroArch/pull/17555 issue-tracking
- https://github.com/libretro/RetroArch/pull/17555#issuecomment-2651403849 issue-tracking
- https://github.com/libretro/RetroArch/pull/17555/commits/6446f045ec7fc6a5cac3e8ec35a2f0a5889c88e8 issue-tracking, patch
- https://github.com/libretro/RetroArch/releases/tag/v1.21.0 patch