Back

HIGH

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

Published Sep 1, 2025

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.

Affected products

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.

Metrics

References (2)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner CyberArk
Published Sep 1, 2025
Updated Sep 3, 2025
Reserved Sep 1, 2025
CISA Vulnrichment
Updated Sep 3, 2025
NVD
Status Analyzed
Modified Jun 17, 2026
Red Hat
Severity n/a
Public date n/a