CVE-2025-9809

Published Sep 1, 2025 CVSS 4.0 · 8.4 High EPSS < 1% KEV · Not listed
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.

Remediation

Vendor Solution

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.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-26355 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.
Ubuntu USN Ubuntu USN USN-8166-1 RetroArch vulnerability
History
Type Values Removed Values Added
First Time appeared Libretro libretro-common
CPEs cpe:2.3:a:libretro:libretro-common:-:*:*:*:*:*:*:*
Vendors & Products Libretro libretro-common
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Libretro
Libretro libretro
Vendors & Products Libretro
Libretro libretro
Type Values Removed Values Added
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.
Weaknesses CWE-787
References
Metrics cvssV4_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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
CyberArk
Published
Updated
Sep 3, 2025, 8:29 PM
Reserved
Sep 1, 2025, 6:17 PM
Status
Analyzed
Published
Sep 1, 2025, 7:15 PM
Modified
Jun 17, 2026, 10:09 AM