CVE-2026-93749: source-map-js allows event-loop denial of service through indexed source-map section offsets
High CVSS 7.5
- OSV id
- GHSA-68fv-2mgg-jv7q
- Also known as
- CVE-2026-93749
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| source-map-js npm |
>= 1.0.0, < 1.2.2 | 1.2.2 |
Versions we track that it affects: source-map-js 1.2.0
How to fix it
Upgrade source-map-js to 1.2.2 or later.
npm install source-map-js@1.2.2
# if it is an indirect dependency: npm update source-map-js (or npm audit fix)
- If it is an indirect dependency, upgrade the package that depends on it, or force the version with "overrides" (npm), "resolutions" (Yarn) or "pnpm.overrides" (pnpm) in package.json.
- Check the changelog for breaking changes (especially across major versions), update the lockfile with the package manager, and run your tests.
Not sure whether your project uses an affected version? Check your lockfile below for free.
Details
source-map-js through 1.2.1 fails to validate the per-section offset line value in indexed source maps, allowing attackers to specify arbitrary numeric values. Attackers can supply extremely large offset line values that cause synchronous event loop blocking for extended periods, preventing the service from handling other requests.
References
- GHSA-68fv-2mgg-jv7q on OSV.dev
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-93749
- Web: https://github.com/7rulnik/source-map-js/issues/76
- Web: https://github.com/7rulnik/source-map-js/pull/79
- Web: https://github.com/7rulnik/source-map-js/commit/cf7658058ceeaa8619d5ae0ec90be6905209d016
- Package: https://github.com/7rulnik/source-map-js
- Web: https://github.com/7rulnik/source-map-js/blob/c1cd8904bb7bd0c7fb5879fcda48134d82a27934/lib/source-node.js#L115-L118
- Web: https://github.com/7rulnik/source-map-js/releases/tag/v1.2.2
- Web: https://www.vulncheck.com/advisories/source-map-js-through-1.2.1-event-loop-denial-of-service
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: GitHub Advisory Database via OSV.dev (CC-BY 4.0). Severity comes from the advisory's own rating when it has one, else from its CVSS score.