{"id":"UBUNTU-CVE-2025-9809","details":"Out-of-bounds write in cdfs_open_cue_track in libretro libretro-common latest on all platforms allows remote attackers to execute arbitrary code via a crafted .cue file with a file path exceeding PATH_MAX_LENGTH that is copied using memcpy into a fixed-size buffer.","modified":"2026-07-28T21:27:02.433379201Z","published":"2025-09-01T19:15:00Z","related":["USN-8166-1"],"upstream":["CVE-2025-9809"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-9809"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-9809"},{"type":"REPORT","url":"https://github.com/libretro/libretro-common/issues/222"},{"type":"REPORT","url":"https://github.com/libretro/libretro-common/blob/master/formats/cdfs/cdfs.c#L471"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8166-1"}],"affected":[{"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"},{"fixed":"1.18.0+dfsg-1ubuntu0.1~esm1"}]}],"versions":["1.14.0+dfsg-1build1","1.15.0+dfsg-1","1.16.0.3+dfsg-1","1.18.0+dfsg-1"],"ecosystem_specific":{"priority_reason":"remote arbitrary code execution","binaries":[{"binary_version":"1.18.0+dfsg-1ubuntu0.1~esm1","binary_name":"retroarch"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9809.json"}},{"package":{"name":"retroarch","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/retroarch?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.0+dfsg-3ubuntu0.1"}]}],"versions":["1.20.0+dfsg-2build1","1.20.0+dfsg-2build2","1.20.0+dfsg-3"],"ecosystem_specific":{"priority_reason":"remote arbitrary code execution","binaries":[{"binary_name":"retroarch","binary_version":"1.20.0+dfsg-3ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-9809.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"high"}]}