GitHub Advisory Database
GHSA-68fv-2mgg-jv7q
source-map-js allows event-loop denial of service through indexed source-map section offsets
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | source-map-js | From 1.0.0 before 1.2.2 (fixed in 1.2.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-93749
- https://github.com/7rulnik/source-map-js/issues/76
- https://github.com/7rulnik/source-map-js/pull/79
- https://github.com/7rulnik/source-map-js/commit/cf7658058ceeaa8619d5ae0ec90be6905209d016
- https://github.com/7rulnik/source-map-js
- https://github.com/7rulnik/source-map-js/blob/c1cd8904bb7bd0c7fb5879fcda48134d82a27934/lib/source-node.js#L115-L118
- https://github.com/7rulnik/source-map-js/releases/tag/v1.2.2
- https://www.vulncheck.com/advisories/source-map-js-through-1.2.1-event-loop-denial-of-service