CVE-2025-9809 Memory corruption in libretro-common

High 8.4 Published Updated

Remote attackers can execute arbitrary code via a crafted .cue file causing an out-of-bounds write in the libretro-common library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-9809?

CVE-2025-9809 is a high-severity memory corruption vulnerability in libretro-common, published on 1 Sep 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2025-9809?

It affects 1 product.

Products include Libretro Libretro-Common.

How do I fix CVE-2025-9809?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-9809 being exploited?

There is no known exploitation of CVE-2025-9809 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-9809, GHSA-2cg7-x3pg-q7xf, UBUNTU-CVE-2025-9809, USN-8166-1.

Is CVE-2025-9809 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free