CVE-2025-9136 Details
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.
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.
Users are advised to upgrade to libretro RetroArch version 1.21.0, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 19, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://vuldb.com/?submit.617657 | CISA-ADP | Third Party AdvisoryVDB Entry |
| https://github.com/libretro/RetroArch/pull/17555 | [email protected] | Issue TrackingPatch |
| https://github.com/libretro/RetroArch/pull/17555/commits/6446f045ec7fc6a5cac3e8ec35a2f0a5889c88e8 | [email protected] | Patch |
| https://github.com/libretro/RetroArch/pull/17555#issuecomment-2651403849 | [email protected] | Issue TrackingPatch |
| https://github.com/libretro/RetroArch/releases/tag/v1.21.0 | [email protected] | Release Notes |
| https://vuldb.com/?ctiid.320516 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.320516 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.617657 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| libretro retroarch | 1.18.0 1.19.0 1.20.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Sep 12, 2025 | Initial Analysis | [email protected] |
| Aug 19, 2025 | CVE Modified | CISA-ADP |
| Aug 19, 2025 | New CVE Received | [email protected] |