UBUNTU-CVE-2026-71851

Source
https://ubuntu.com/security/CVE-2026-71851
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71851.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-71851
Upstream
Published
2026-08-07T19:18:00Z
Modified
2026-08-13T00:14:08Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

crypto-js is a JavaScript library of crypto standards. Versions of crypto-js prior to 4.0.0 generate randomness in CryptoJS.lib.WordArray.random() using a custom variation of the Multiply-With-Carry pseudorandom number generator, seeded from Math.random(), instead of a cryptographically secure source. This generator was introduced in version 3.1.2-4 and remained present in nearly every 3.x release. Nominal requests for 128 or 256 bits of entropy through this function produce effective search spaces of approximately 2 to the 39th and 2 to the 47th possibilities, small enough to enumerate on commodity hardware. Downstream wallet applications that used CryptoJS.lib.WordArray.random() as the entropy source for BIP39 recovery phrases are affected, and an attacker who enumerates the reduced output space can recover the resulting private keys and control the associated funds. This issue is fixed in version 4.0.0.

References

Affected packages

Ubuntu:Pro:16.04:LTS / cryptojs

Package

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

Affected ranges

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

Affected versions

3.*
3.1.2+dfsg-1
3.1.2+dfsg-2
3.1.2+dfsg-2ubuntu0.16.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.2+dfsg-2ubuntu0.16.04.1~esm1",
            "binary_name": "libjs-cryptojs"
        }
    ]
}

Database specific

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

Ubuntu:Pro:18.04:LTS / cryptojs

Package

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

Affected ranges

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

Affected versions

3.*
3.1.2+dfsg-2
3.1.2+dfsg-2ubuntu0.18.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.2+dfsg-2ubuntu0.18.04.1~esm1",
            "binary_name": "libjs-cryptojs"
        }
    ]
}

Database specific

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

Ubuntu:20.04:LTS / cryptojs

Package

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

Affected ranges

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

Affected versions

3.*
3.1.2+dfsg-2
3.1.2+dfsg-2ubuntu0.20.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.2+dfsg-2ubuntu0.20.04.1",
            "binary_name": "libjs-cryptojs"
        }
    ]
}

Database specific

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

Ubuntu:Pro:22.04:LTS / cryptojs

Package

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

Affected ranges

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

Affected versions

3.*
3.1.2+dfsg-3
3.1.2+dfsg-3ubuntu0.22.04.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.2+dfsg-3ubuntu0.22.04.1~esm1",
            "binary_name": "libjs-cryptojs"
        }
    ]
}

Database specific

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

Ubuntu:24.04:LTS / cryptojs

Package

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

Affected ranges

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

Affected versions

3.*
3.1.2+dfsg-3
3.1.2+dfsg-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.1.2+dfsg-4",
            "binary_name": "libjs-cryptojs"
        }
    ]
}

Database specific

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