UBUNTU-CVE-2026-2739

Source
https://ubuntu.com/security/CVE-2026-2739
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-2739.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-2739
Upstream
Published
2026-02-20T05:17:00Z
Modified
2026-02-27T09:58:15Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.

References

Affected packages

Ubuntu:18.04:LTS / node-bn.js

Package

Name
node-bn.js
Purl
pkg:deb/ubuntu/node-bn.js@4.11.8-1?arch=source&distro=bionic

Affected ranges

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

Affected versions

4.*
4.11.8-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.11.8-1",
            "binary_name": "node-bn.js"
        }
    ]
}

Database specific

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

Ubuntu:20.04:LTS / node-bn.js

Package

Name
node-bn.js
Purl
pkg:deb/ubuntu/node-bn.js@5.1.1-2?arch=source&distro=focal

Affected ranges

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

Affected versions

5.*
5.0.0-1
5.0.0-2
5.1.1-1
5.1.1-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.1.1-2",
            "binary_name": "node-bn.js"
        }
    ]
}

Database specific

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

Ubuntu:22.04:LTS / node-bn.js

Package

Name
node-bn.js
Purl
pkg:deb/ubuntu/node-bn.js@5.2.0-3?arch=source&distro=jammy

Affected ranges

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

Affected versions

5.*
5.1.3-1
5.2.0-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.2.0-3",
            "binary_name": "node-bn.js"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / node-bn.js

Package

Name
node-bn.js
Purl
pkg:deb/ubuntu/node-bn.js@5.2.1+~5.1.1-1?arch=source&distro=noble

Affected ranges

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

Affected versions

5.*
5.2.1+~5.1.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.2.1+~5.1.1-1",
            "binary_name": "node-bn.js"
        }
    ]
}

Database specific

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

Ubuntu:25.10 / node-bn.js

Package

Name
node-bn.js
Purl
pkg:deb/ubuntu/node-bn.js@5.2.1+~5.1.1-1?arch=source&distro=questing

Affected ranges

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

Affected versions

5.*
5.2.1+~5.1.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.2.1+~5.1.1-1",
            "binary_name": "node-bn.js"
        }
    ]
}

Database specific

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