CVE-2025-65122 youtube-regex vulnerable to Regex Denial of Service
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.
| Package | Affected | Fixed in |
|---|---|---|
youtube-regex npm | All versions to 1.0.5 | None |
youtube-regex npm | All versions to 1.0.5 | None |
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.