CVE-2025-65122 youtube-regex vulnerable to Regex Denial of Service

High 7.5 Published Updated

Attackers can cause denial of service in applications using the youtube-regex npm package via specially crafted input.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-65122?

CVE-2025-65122 is a high-severity denial of service vulnerability in n/a, published on 7 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Regex Denial of Service in youtube-regex npm package through version 1.0.5.

Weakness: CWE-400

Which versions are affected by CVE-2025-65122?

2 open source packages ship an affected version, including youtube-regex.

PackageAffectedFixed in
youtube-regex npmAll versions to 1.0.5None
youtube-regex npmAll versions to 1.0.5None

How do I fix CVE-2025-65122?

No fix has been published for CVE-2025-65122 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2025-65122 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65122 exists.

Sources

Also known as GHSA-vpxx-h23g-gxh2.

Is CVE-2025-65122 in your software?

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

Check your SBOMs for free