CVE-2025-55131
Description
A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when using the `vm` module with the timeout option. Under specific timing conditions, buffers allocated with `Buffer.alloc` and other `TypedArray` instances like `Uint8Array` may contain leftover data from previous operations, allowing in-process secrets like tokens or passwords to leak or causing data corruption. While exploitation typically requires precise timing or in-process code execution, it can become remotely exploitable when untrusted input influences workload and timeouts, leading to potential confidentiality and integrity impact.
Description as published by the source, in English.
Key facts
- Published
- 2026-01-20
- Last modified
- 2026-07-15
- Assigned by
- support@hackerone.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L- Scored by
- 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
- Probability of exploitation
-
3.3 %
higher than 87 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| nodejs | node | ≥ 10.0, < 10.* | Affected |
| nodejs | node | ≥ 11.0, < 11.* | Affected |
| nodejs | node | ≥ 12.0, < 12.* | Affected |
| nodejs | node | ≥ 13.0, < 13.* | Affected |
| nodejs | node | ≥ 14.0, < 14.* | Affected |
| nodejs | node | ≥ 15.0, < 15.* | Affected |
| nodejs | node | ≥ 16.0, < 16.* | Affected |
| nodejs | node | ≥ 17.0, < 17.* | Affected |
| nodejs | node | ≥ 18.0, < 18.* | Affected |
| nodejs | node | ≥ 20.19.6, ≤ 20.19.6 | Affected |
| nodejs | node | ≥ 22.21.1, ≤ 22.21.1 | Affected |
| nodejs | node | ≥ 24.12.0, ≤ 24.12.0 | Affected |
| nodejs | node | ≥ 25.2.1, ≤ 25.2.1 | Affected |
| nodejs | node | ≥ 4.0, < 4.* | Affected |
| nodejs | node | ≥ 5.0, < 5.* | Affected |
| nodejs | node | ≥ 6.0, < 6.* | Affected |
| nodejs | node | ≥ 7.0, < 7.* | Affected |
| nodejs | node | ≥ 8.0, < 8.* | Affected |
| nodejs | node | ≥ 9.0, < 9.* | Affected |
Weakness type
-
CWE-120: Buffer Copy without Checking Size of Input
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
-
CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere
The product does not properly prevent sensitive system-level information from being accessed by unauthorized actors who do not have the same level of access to the underlying system as the product does.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1614: System Location Discovery
References
- https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
- https://access.redhat.com/errata/RHSA-2026:1842
- https://access.redhat.com/errata/RHSA-2026:1843
- https://access.redhat.com/errata/RHSA-2026:2420
- https://access.redhat.com/errata/RHSA-2026:2421
- https://access.redhat.com/errata/RHSA-2026:2422
- https://access.redhat.com/errata/RHSA-2026:2767
- https://access.redhat.com/errata/RHSA-2026:2768
- https://access.redhat.com/errata/RHSA-2026:2781
- https://access.redhat.com/errata/RHSA-2026:2782
- https://access.redhat.com/errata/RHSA-2026:2783
- https://access.redhat.com/errata/RHSA-2026:2864
- https://access.redhat.com/errata/RHSA-2026:2899
- https://access.redhat.com/errata/RHSA-2026:6402
- https://access.redhat.com/errata/RHSA-2026:6431
- https://access.redhat.com/errata/RHSA-2026:7386
- https://access.redhat.com/errata/RHSA-2026:7387
- https://access.redhat.com/security/cve/CVE-2025-55131
- https://bugzilla.redhat.com/show_bug.cgi?id=2431350
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55131.json
Related at Berigo
Articles
-
New malware looks up its command server in a Polygon smart contract
Same product
2026-09-26
Blackpoint has found ChainScript, a Node.js remote access trojan spread through fake installers for Spotify, Zoom and Teams. Rather than trusting the…
-
The Sality botnet has been disrupted after 23 years
Same product
2026-09-26
US authorities and private partners announced on 1 September 2026 that the infrastructure behind the Sality malware has been disrupted. Sality has be…
-
Attackers fetch Node.js from the official site to run their malware
Same product
2026-09-26
Since February 2026 Symantec's Threat Hunter Team has seen several actors use the signed Node.js runtime to run malware and keep it alive at governme…
-
Nine advisories in one day, from brake computers to ship transponders
Same product
2026-08-25
CISA published seven new ICS advisories on 25 August 2026 and revised two older ones the same day. Five of the nine carry a top CVSS v3.1 score of 9.…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.