Skip to content
Heist/ feed
Back to feed
Medium

node-source-map-resolve — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-45822

decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.

Products
node-source-map-resolve
Affected versions
0.6.0+~cs2.7.2-2, 0.6.0+~cs2.7.3-2
Fixed versions
Not specified
CVEs
CVE-2026-45822
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:05 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-45822

core-osv · Original source

Published 30 Jun 2026, 09:16 UTC

decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.

osv:UBUNTU-CVE-2026-45822

node-source-map-resolve

Fixed versions: Not specified

node-source-map-resolve

Fixed versions: Not specified

node-source-map-resolve

Fixed versions: Not specified

node-source-map-resolve

Fixed versions: Not specified

node-source-map-resolve

Fixed versions: Not specified

Complete source record
{
  "id": "d6692ee8b7f3a48e31e29bbe02844b878d975fd531964fe5584985ef492512da",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-45822",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-45822",
    "summary": "decode-uri-component through 0.4.1 is vulnerable to denial of service. The decode() function splits input on '%' producing N tokens and calls decodeComponents(), exhibiting super-linear parsing time: 200 '%ab' tokens takes approximately 0.7s, 700 tokens approximately 6s, and 1400 tokens approximately 33s. An attacker can cause significant CPU consumption and event-loop blocking via crafted input.",
    "evidence": "osv:UBUNTU-CVE-2026-45822",
    "products": [
      {
        "name": {
          "value": "node-source-map-resolve",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.0+~cs2.7.2-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.6.0+~cs2.7.3-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-source-map-resolve",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.0+~cs2.7.3-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-source-map-resolve",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.0+~cs2.7.3-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-source-map-resolve",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.0+~cs2.7.3-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "node-source-map-resolve",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.0+~cs2.7.3-2",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-45822",
      "aliases": [
        "UBUNTU-CVE-2026-45822"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/S:N/AU:Y/R:U/V:D/RE:M/U:Amber"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-source-map-resolve",
            "purl": "pkg:deb/ubuntu/node-source-map-resolve?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "0.6.0+~cs2.7.2-2",
            "0.6.0+~cs2.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45822.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-source-map-resolve",
                "binary_version": "0.6.0+~cs2.7.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-source-map-resolve",
            "purl": "pkg:deb/ubuntu/node-source-map-resolve?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.6.0+~cs2.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45822.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-source-map-resolve",
                "binary_version": "0.6.0+~cs2.7.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-source-map-resolve",
            "purl": "pkg:deb/ubuntu/node-source-map-resolve?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "0.6.0+~cs2.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45822.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-source-map-resolve",
                "binary_version": "0.6.0+~cs2.7.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-source-map-resolve",
            "purl": "pkg:deb/ubuntu/node-source-map-resolve?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.6.0+~cs2.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45822.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-source-map-resolve",
                "binary_version": "0.6.0+~cs2.7.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "node-source-map-resolve",
            "purl": "pkg:deb/ubuntu/node-source-map-resolve?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.6.0+~cs2.7.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-45822.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "node-source-map-resolve",
                "binary_version": "0.6.0+~cs2.7.3-2"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:00:11.482650972Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-45822"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-45822",
        "https://www.cve.org/CVERecord?id=CVE-2026-45822",
        "https://github.com/SamVerschueren/decode-uri-component/blob/00662938dc7c6241547ae8abce7785cc13ffd3f6/index.js",
        "https://github.com/SamVerschueren/decode-uri-component/commit/fa479dafeede7bedf04e5c89aa78f2a78c664005",
        "https://www.npmjs.com/package/decode-uri-component"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-45822",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 360392,
  "published_at": "2026-06-30T09:16:00+00:00"
}