CVE-2026-9496

Source
https://cve.org/CVERecord?id=CVE-2026-9496
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9496.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-9496
Downstream
Related
Published
2026-05-26T05:00:07.813Z
Modified
2026-07-09T10:14:57.572299249Z
Severity
  • 7.7 (High) CVSS_V4 - 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:P CVSS Calculator
Summary
[none]
Details

Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic, causing excessive CPU consumption and potentially stalling or crashing the process.

Database specific
{
    "cna_assigner": "snyk",
    "cwe_ids": [
        "CWE-1333"
    ],
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "11.2.7"
                },
                {
                    "fixed": "*"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9496.json"
}
References

Affected packages

Git / github.com/npm/pacote

Affected ranges

Type
GIT
Repo
https://github.com/npm/pacote
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "11.2.7"
        },
        {
            "fixed": "21.5.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v11.*
v11.2.7
v11.3.1
v11.3.2
v11.3.3
v11.3.4
v11.3.5
v12.*
v12.0.0
v12.0.1
v12.0.2
v12.0.3
v13.*
v13.0.0
v13.0.1
v13.0.2
v13.0.3
v13.0.4
v13.0.5
v13.0.6
v13.1.0
v13.1.1
v13.2.0
v13.3.0
v13.4.0
v13.4.1
v13.5.0
v13.6.0
v13.6.1
v13.6.2
v14.*
v14.0.0
v14.0.0-pre.0
v14.0.0-pre.1
v14.0.0-pre.2
v14.0.0-pre.3
v15.*
v15.0.0
v15.0.1
v15.0.2
v15.0.3
v15.0.4
v15.0.5
v15.0.6
v15.0.7
v15.0.8
v15.1.0
v15.1.1
v15.1.2
v15.1.3
v15.2.0
v16.*
v16.0.0
v17.*
v17.0.0
v17.0.1
v17.0.2
v17.0.3
v17.0.4
v17.0.5
v17.0.6
v17.0.7
v18.*
v18.0.0
v18.0.1
v18.0.2
v18.0.3
v18.0.4
v18.0.5
v18.0.6
v19.*
v19.0.0
v19.0.1
v20.*
v20.0.0
v21.*
v21.0.0
v21.0.1
v21.0.2
v21.0.3
v21.0.4
v21.1.0
v21.2.0
v21.3.0
v21.3.1
v21.4.0
v21.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-9496.json"