{"id":"CVE-2025-9809","aliases":["DEBIAN-CVE-2025-9809","EUVD-2025-26355","GHSA-2cg7-x3pg-q7xf","UBUNTU-CVE-2025-9809","USN-8166-1"],"status":"published","title":"Out-of-bounds write in cdfs_open_cue_track in libretro libretro-common latest on all platforms...","description":"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.","severity":{"version":"4.0","score":8.4,"vector":"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.00424,"percentile":0.36961,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2025-09-01T18:38:22Z","modified":"2026-10-29T10:45:30Z","fixes":[{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"retroarch","fixed_in":["1.18.0+dfsg-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:25.10","package":"retroarch","fixed_in":["1.20.0+dfsg-3ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"retroarch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.14.0+dfsg-1","1.15.0+dfsg-1","1.16.0.3+dfsg-1","1.18.0+dfsg-1","1.19.1+dfsg-1","1.20.0+dfsg-1","1.20.0+dfsg-2","1.20.0+dfsg-3","1.22.2+dfsg-1","1.22.2+dfsg-2"]},{"source":"osv","ecosystem":"Debian:13","package":"retroarch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0+dfsg-2","1.20.0+dfsg-3","1.22.2+dfsg-1","1.22.2+dfsg-2"]},{"source":"osv","ecosystem":"Debian:14","package":"retroarch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20.0+dfsg-2","1.20.0+dfsg-3","1.22.2+dfsg-1","1.22.2+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"retroarch","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"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"retroarch","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"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"retroarch","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"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"retroarch","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"]}],"products":[{"vendor":"libretro","product":"libretro-common"}],"references":[{"url":"https://github.com/libretro/libretro-common/blob/master/formats/cdfs/cdfs.c#L471","tags":["Product","web","report"]},{"url":"https://github.com/libretro/libretro-common/issues/222","tags":["Issue Tracking","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-9809","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-2cg7-x3pg-q7xf"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/9xxx/CVE-2025-9809.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-9809","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2025-9809","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-9809","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8166-1","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-9809","description":"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.","status":"published","published":"2025-09-01T18:38:22.165Z","modified":"2025-09-03T20:29:21.013Z","cvss":[{"version":"4.0","score":8.4,"vector":"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","level":"high","assessor":"cna"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:32:34.096798Z"}],"euvd":[{"id":"EUVD-2025-26355","description":"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.","status":"published","published":"2025-09-01T18:38:22Z","modified":"2025-09-03T20:29:21Z","cvss":[{"version":"4.0","score":8.4,"vector":"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","level":"high"}],"updated_at":"2026-11-02T20:31:47.35544Z"}],"ghsa":[{"id":"GHSA-2cg7-x3pg-q7xf","title":"Out-of-bounds write in cdfs_open_cue_track in libretro libretro-common latest on all platforms...","description":"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.","status":"published","published":"2025-12-08T15:30:28Z","modified":"2025-12-08T15:30:29Z","cvss":[{"version":"4.0","score":8.4,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:05:05.469565Z"}],"nvd":[{"id":"CVE-2025-9809","description":"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.","status":"published","published":"2025-09-01T19:15:32.383Z","modified":"2026-06-17T10:09:48.99Z","cvss":[{"version":"4.0","score":8.4,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:11:26.200344Z"}],"osv":[{"id":"CVE-2025-9809","description":"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.","status":"published","published":"2025-09-01T18:38:22.165Z","modified":"2026-10-29T10:45:30.235611735Z","cvss":[{"version":"4.0","score":8.4,"vector":"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","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:44:53.490346Z"},{"id":"DEBIAN-CVE-2025-9809","description":"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.","status":"published","published":"2025-09-01T19:15:32.383Z","modified":"2026-09-01T20:05:59.417725964Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:48.440897Z"},{"id":"UBUNTU-CVE-2025-9809","description":"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.","status":"published","published":"2025-09-01T19:15:00Z","modified":"2026-07-28T21:27:02.433379201Z","cvss":[{"version":"4.0","score":8.4,"vector":"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","level":"high"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T16:55:58.519486Z"},{"id":"USN-8166-1","title":"retroarch vulnerability","description":"It was discovered that RetroArch did not correctly handle certain memory\noperations, which could lead to a buffer overflow. If a user or automated\nsystem were tricked into opening a specially crafted file, an attacker\ncould possibly use this issue to cause a denial of service or execute\narbitrary code. This issue only affected Ubuntu 24.04 LTS and Ubuntu 25.10.","status":"published","published":"2026-04-12T23:19:55Z","modified":"2026-04-27T18:47:03.924126Z","updated_at":"2026-11-02T16:58:22.951676Z"}]}}
