{"id":"UBUNTU-CVE-2025-9136","details":"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.","modified":"2026-05-20T16:24:03.068626155Z","published":"2025-08-19T12:15:00Z","upstream":["CVE-2025-9136"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-9136"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-9136"},{"type":"REPORT","url":"https://github.com/libretro/RetroArch/pull/17555"}],"affected":[{"package":{"name":"retroarch","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.1+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"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"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3+dfsg1-1build1","1.7.3+dfsg1-1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.7.3+dfsg1-1.1","binary_name":"retroarch"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9136.json"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.3+dfsg1-1.1build1"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"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"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"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"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0+dfsg-2build1","1.20.0+dfsg-2build2","1.20.0+dfsg-3","1.20.0+dfsg-3ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"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"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"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"],"ecosystem_specific":{"binaries":[{"binary_name":"retroarch","binary_version":"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"}}],"schema_version":"1.7.5","severity":[{"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"}]}