{"id":"CVE-2025-9809","state":"PUBLISHED","title":"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","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.","publishedAt":"2025-09-01T18:38:22.165Z","updatedAt":"2025-09-03T20:29:21.013Z","severity":{"score":8.4,"label":"High","version":"4.0","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","source":"CyberArk"},"assigner":"CyberArk","products":["libretro libretro-common"],"affected":[{"vendor":"libretro","product":"libretro-common","defaultStatus":"affected","versions":[{"version":"0","status":"affected"}],"modules":["cdfs_open_cue_track"],"programFiles":["libretro-common/formats/cdfs/cdfs.c"]}],"references":["https://github.com/libretro/libretro-common/blob/master/formats/cdfs/cdfs.c#L471","https://github.com/libretro/libretro-common/issues/222"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:10:13.529Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/9xxx/CVE-2025-9809.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-9809","state":"PUBLISHED","datePublished":"2025-09-01T18:38:22.165Z","dateUpdated":"2025-09-03T20:29:21.013Z","assignerShortName":"CyberArk","assignerOrgId":"96148269-fe82-4198-b1bf-3a73ce8bc92e","dateReserved":"2025-09-01T18:17:00.403Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"libretro","product":"libretro-common","defaultStatus":"affected","versions":[{"version":"0","status":"affected"}],"modules":["cdfs_open_cue_track"],"programFiles":["libretro-common/formats/cdfs/cdfs.c"]}],"references":[{"url":"https://github.com/libretro/libretro-common/blob/master/formats/cdfs/cdfs.c#L471"},{"url":"https://github.com/libretro/libretro-common/issues/222"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.4,"baseSeverity":"HIGH","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CyberArk","orgId":"96148269-fe82-4198-b1bf-3a73ce8bc92e","dateUpdated":"2025-09-01T18:38:22.165Z"},"credits":[{"lang":"en","type":"finder","value":"Simcha Kosman"}],"impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Limit memcpy size to PATH_MAX_LENGTH-1 when copying file paths, ensure explicit NUL-termination, and validate lengths before copy; update to a version including the fix once available.\n\n<br>"}],"value":"Limit memcpy size to PATH_MAX_LENGTH-1 when copying file paths, ensure explicit NUL-termination, and validate lengths before copy; update to a version including the fix once available."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-09-03T20:29:10.518670Z","id":"CVE-2025-9809","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-09-03T20:29:21.013Z"}}]}}}