UBUNTU-CVE-2026-9496

Source
https://ubuntu.com/security/CVE-2026-9496
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-9496
Upstream
  • CVE-2026-9496
Published
2026-05-26T07:16:00Z
Modified
2026-06-29T23:19:16.862532802Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 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
  • Ubuntu - medium
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.

References

Affected packages

Ubuntu:14.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.18~dfsg-3
1.3.10~dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "1.3.10~dfsg-1",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:20.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.8.0+ds6-4
6.*
6.14.4+ds-1ubuntu2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "6.14.4+ds-1ubuntu2",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:22.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*
7.5.2+ds-2
7.24.2+ds-1
7.24.2+ds-2
8.*
8.3.0~ds-1
8.3.0~ds-2
8.3.2~ds-1
8.5.0~ds-1
8.5.1~ds-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.5.1~ds-1",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:24.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.2.0~ds1-1
9.2.0~ds1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "9.2.0~ds1-2",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:25.10
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.2.0~ds1-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "9.2.0~ds1-3",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:26.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*
9.2.0~ds1-3
9.2.0~ds2-2
9.2.0~ds3-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "9.2.0~ds3-1",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:Pro:16.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.4.21+ds-2
3.*
3.5.2-0ubuntu4
3.5.2-0ubuntu4.1.16.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.5.2-0ubuntu4.1.16.04.1~esm1",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"
Ubuntu:Pro:18.04:LTS
npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*
3.5.2-0ubuntu4
3.5.2-0ubuntu4.1.18.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.5.2-0ubuntu4.1.18.04.1~esm1",
            "binary_name": "npm"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-9496.json"