Zod jsVideoUrlParser util.js getTime redos
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
A weakness has been identified in Zod jsVideoUrlParser up to 0.5.1. The impacted element is the function getTime in the library lib/util.js. This manipulation of the argument timestamp causes inefficient regular expression complexity. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Zod | jsVideoUrlParser | 0.5.0; 0.5.1 | — | No fix listed | CNA |
| — | js-video-url-parser (npm) | up to 0.5.1 | — | No fix listed | GHSA-8fgx-wgvr-pcx8 |
- jsVideoUrlParser VendorZod Affected 0.5.0; 0.5.1 Fixed in — No fix listed CNA
- js-video-url-parser (npm) Vendor— Affected up to 0.5.1 Fixed in — No fix listed GHSA-8fgx-wgvr-pcx8
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-5986
- 2026-10-03 Alias added: GHSA-8fgx-wgvr-pcx8
References
More Zod vulnerabilities
- TI-2023-03988 Zod 3.22.2 - Regular expression Denial of Service CVSS 3.1HIGH 7.5
Sources
- CVE-2026-5986 · CVE Program
- CVE-2026-5986 · NVD
- FIRST EPSS
- GHSA-8fgx-wgvr-pcx8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences