CVE-2026-93749: Source map js Remote Code Execution Vulnerability
HIGHCVE-2026-93749 is a HIGH (CVSS 7.5) remote code execution vulnerability (CWE-1284: Improper Validation of Specified Quantity in Input) affecting Source map js libraries in the npm ecosystem. The issue involves source-map-js allows event-loop denial of service through indexed source-map section offsets. Remediation is available by upgrading affected packages to version 1.2.2.
CVE-2026-93749 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2026-93749
To remediate this vulnerability, upgrade all affected Source map js dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install source-map-js@1.2.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls source-map-js
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-93749, inspect your project dependencies using npm:
npm ls source-map-js
Analyze the terminal output to locate any version of Source map js in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.2.2), your application is affected.
Note: The npm ls source-map-js command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1284: Improper Validation of Specified Quantity in Input, where the product receives input that is expected to specify a quantity (such as size or length), but it does not validate or incorrectly validates that the quantity has the required properties. In Source map js, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-93749 Affected Source map js Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
source-map-js
|
npm |
≥ 1.0.0
< 1.2.2
|
1.2.2
|
References
Frequently Asked Questions
What is CVE-2026-93749?
Which Source map js versions are affected?
What version fixes CVE-2026-93749?
Is source-map-js affected?
What is the CVSS score of CVE-2026-93749?
What CWE is associated with CVE-2026-93749?
How can I check npm dependencies for CVE-2026-93749?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-68fv-2mgg-jv7q",
"modified" : "2026-10-05T23:31:22Z",
"published" : "2026-09-18T18:31:44Z",
"aliases" : [ "CVE-2026-93749" ],
"summary" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}, {
"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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "source-map-js"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.2.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-93749"
}, {
"type" : "WEB",
"url" : "https://github.com/7rulnik/source-map-js/issues/76"
}, {
"type" : "WEB",
"url" : "https://github.com/7rulnik/source-map-js/pull/79"
}, {
"type" : "WEB",
"url" : "https://github.com/7rulnik/source-map-js/commit/cf7658058ceeaa8619d5ae0ec90be6905209d016"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/7rulnik/source-map-js"
}, {
"type" : "WEB",
"url" : "https://github.com/7rulnik/source-map-js/blob/c1cd8904bb7bd0c7fb5879fcda48134d82a27934/lib/source-node.js#L115-L118"
}, {
"type" : "WEB",
"url" : "https://github.com/7rulnik/source-map-js/releases/tag/v1.2.2"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/source-map-js-through-1.2.1-event-loop-denial-of-service"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1284" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-05T23:31:22Z",
"nvd_published_at" : "2026-09-18T18:18:33Z"
}
}