Skip to content
Heist/ feed
Back to feed
Medium

Zod jsVideoUrlParser util.js getTime redos

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-5986
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:21 UTC · Revision 1

Source evidence

Zod jsVideoUrlParser util.js getTime redos

core-osv · Original source

Published 9 Apr 2026, 22:30 UTC

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.

osv:CVE-2026-5986
Complete source record
{
  "id": "51ea91dda74f378cf2ed96043eaed0abdaddfb24a3c127289cc2c53828799085",
  "url": "https://osv.dev/vulnerability/CVE-2026-5986",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Zod jsVideoUrlParser util.js getTime redos",
    "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.",
    "evidence": "osv:CVE-2026-5986",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-5986",
      "aliases": [
        "CVE-2026-5986",
        "GHSA-8fgx-wgvr-pcx8"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/zod-/jsvideourlparser",
              "type": "GIT",
              "events": [
                {
                  "introduced": "e1c80ca3e67d77ef408f44f767bbd4c49ddb6414"
                },
                {
                  "last_affected": "82af884e1914885ff25e43aae585632d2626ecb9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.5.0"
                      },
                      {
                        "last_affected": "0.5.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.5.1"
                      },
                      {
                        "last_affected": "0.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.5.1"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.5.0",
            "0.5.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5986.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.282814119Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5986.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-5986",
        "https://vuldb.com/submit/791911",
        "https://vuldb.com/vuln/356540",
        "https://github.com/Zod-/jsVideoUrlParser/issues/121",
        "https://github.com/Zod-/jsVideoUrlParser/issues/121#issue-4159661957",
        "https://vuldb.com/vuln/356540/cti"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333",
          "CWE-400"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5986.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-5986",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514234,
  "published_at": "2026-04-09T22:30:14.639+00:00"
}