retroarch — security advisory
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.
- Products
- retroarch
- Affected versions
- 1.14.0+dfsg-1build1, 1.15.0+dfsg-1, 1.16.0.3+dfsg-1, 1.18.0+dfsg-1, 1.18.0+dfsg-1ubuntu0.1~esm1, 1.20.0+dfsg-2build1, 1.20.0+dfsg-2build2, 1.20.0+dfsg-3, 1.20.0+dfsg-3ubuntu0.1, 1.22.2+dfsg-1, 1.22.2+dfsg-2, 1.22.2+dfsg-2build1, 1.22.2+dfsg-2ubuntu1, 1.4.1+dfsg1-1, 1.7.3+dfsg1-1.1, 1.7.3+dfsg1-1.1build1, 1.7.3+dfsg1-1build1
- Fixed versions
- Not specified
- CVEs
- CVE-2025-9136
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:52 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2025-9136
retroarch
Fixed versions: Not specified
retroarch
Fixed versions: Not specified
retroarch
Fixed versions: Not specified
retroarch
Fixed versions: Not specified
retroarch
Fixed versions: Not specified
retroarch
Fixed versions: Not specified
retroarch
Fixed versions: Not specified
Complete source record
{
"id": "b7d0f578855625d29d6fa5ccc291685fc20fc441a0fa199001b0dc9493b3a096",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-9136",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2025-9136",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2025-9136",
"products": [
{
"name": {
"value": "retroarch",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.4.1+dfsg1-1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "retroarch",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.3+dfsg1-1build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.3+dfsg1-1.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "retroarch",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.3+dfsg1-1.1build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "retroarch",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.14.0+dfsg-1build1",
"evidence": "/affected/3/versions"
},
{
"value": "1.15.0+dfsg-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.16.0.3+dfsg-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.18.0+dfsg-1",
"evidence": "/affected/3/versions"
},
{
"value": "1.18.0+dfsg-1ubuntu0.1~esm1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "retroarch",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.20.0+dfsg-2build1",
"evidence": "/affected/4/versions"
},
{
"value": "1.20.0+dfsg-2build2",
"evidence": "/affected/4/versions"
},
{
"value": "1.20.0+dfsg-3",
"evidence": "/affected/4/versions"
},
{
"value": "1.20.0+dfsg-3ubuntu0.1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "retroarch",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.22.2+dfsg-2ubuntu1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "retroarch",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.20.0+dfsg-3",
"evidence": "/affected/6/versions"
},
{
"value": "1.22.2+dfsg-1",
"evidence": "/affected/6/versions"
},
{
"value": "1.22.2+dfsg-2",
"evidence": "/affected/6/versions"
},
{
"value": "1.22.2+dfsg-2build1",
"evidence": "/affected/6/versions"
},
{
"value": "1.22.2+dfsg-2ubuntu1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "high",
"structured": {
"id": "UBUNTU-CVE-2025-9136",
"aliases": [
"UBUNTU-CVE-2025-9136"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.4.1+dfsg1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.4.1+dfsg1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"1.7.3+dfsg1-1build1",
"1.7.3+dfsg1-1.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.7.3+dfsg1-1.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"1.7.3+dfsg1-1.1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.7.3+dfsg1-1.1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=esm-apps%2Fnoble",
"ecosystem": "Ubuntu:Pro:24.04:LTS"
},
"versions": [
"1.14.0+dfsg-1build1",
"1.15.0+dfsg-1",
"1.16.0.3+dfsg-1",
"1.18.0+dfsg-1",
"1.18.0+dfsg-1ubuntu0.1~esm1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.18.0+dfsg-1ubuntu0.1~esm1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"1.20.0+dfsg-2build1",
"1.20.0+dfsg-2build2",
"1.20.0+dfsg-3",
"1.20.0+dfsg-3ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.20.0+dfsg-3ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"1.22.2+dfsg-2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.22.2+dfsg-2ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "retroarch",
"purl": "pkg:deb/ubuntu/retroarch?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"1.20.0+dfsg-3",
"1.22.2+dfsg-1",
"1.22.2+dfsg-2",
"1.22.2+dfsg-2build1",
"1.22.2+dfsg-2ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "retroarch",
"binary_version": "1.22.2+dfsg-2ubuntu1"
}
]
}
}
],
"modified": "2026-10-17T12:59:38.118918536Z",
"provider": "osv",
"upstream": [
"CVE-2025-9136"
],
"references": [
"https://ubuntu.com/security/CVE-2025-9136",
"https://www.cve.org/CVERecord?id=CVE-2025-9136",
"https://github.com/libretro/RetroArch/pull/17555"
]
},
"related_cves": [
{
"value": "CVE-2025-9136",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 359695,
"published_at": "2025-08-19T12:15:00+00:00"
}