
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-55131 is a high-severity uninitialized memory exposure vulnerability in Node.js's buffer allocation logic, titled "Timeout-based race conditions make Uint8Array/Buffer.alloc non-zerofilled." When the vm module is used with the timeout option, interrupted buffer allocations can leave Buffer.alloc and TypedArray instances (e.g., Uint8Array) containing residual data from prior operations, potentially exposing in-process secrets such as tokens or passwords. The vulnerability affects all active Node.js release lines: 20.x, 22.x, 24.x, and 25.x, and was disclosed on January 13, 2026, with the CVE published on January 20, 2026. It carries a CVSS v3.0 base score of 7.1 (High), assigned by HackerOne (Node.js Advisory, Red Hat Bugzilla).
The root cause is a race condition in Node.js's buffer zeroing logic: when a vm module script execution is interrupted by a timeout, the memory zeroing step for newly allocated Buffer.alloc or Uint8Array instances may not complete, leaving the buffer populated with stale heap data from previous operations (CWE-497: Exposure of Sensitive System Information; CWE-120: Buffer Copy without Checking Size of Input). An attacker who can influence workload execution and timeout parameters — for example, by submitting untrusted input that controls script complexity or timeout values — can trigger the race condition remotely. The vulnerability was reported and fixed by Nikita Skovoroda, and the fix was included in the January 13, 2026 security releases (Node.js Advisory, Red Hat Bugzilla).
Successful exploitation can result in confidentiality and integrity impacts: sensitive in-process data such as authentication tokens, passwords, or cryptographic material may be leaked through uninitialized buffer contents, and data corruption may occur if the stale memory is subsequently used in application logic. The vulnerability has high confidentiality and integrity impact with low availability impact per its CVSS scoring. In multi-tenant or server-side JavaScript execution environments where untrusted code runs via the vm module, the risk of cross-tenant secret leakage is elevated. IBM Observability with Instana (OnPrem) is among the downstream products confirmed affected (Node.js Advisory, IBM Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2025-55131. The EPSS score is approximately 0.023% (very low probability of exploitation in the near term). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires high attack complexity — specifically, precise timing to interrupt buffer allocation during a vm module timeout — and at minimum low-privileged network access, making opportunistic exploitation unlikely without targeted effort (Node.js Advisory, Red Hat CVE).
vm module with the timeout option and accepts untrusted user input that influences script content or timeout values.vm timeout, triggering the race condition during buffer allocation (e.g., a tight loop or recursive function that causes the timeout to fire mid-allocation).Buffer.alloc or Uint8Array allocation is interrupted at the precise moment the zeroing step is skipped, leaving residual heap data in the buffer.vm.runInNewContext(), vm.Script, or similar vm module APIs with user-controlled timeout parameters; application logs showing frequent timeout errors from vm module execution.vm-module-backed endpoints, consistent with timing-based probing to trigger the race condition.Node.js released patched versions on January 13, 2026: Node.js 20.20.0, 22.22.0, 24.13.0, and 25.3.0. All users on active release lines should upgrade immediately. As a workaround where upgrading is not immediately possible, avoid using the vm module's timeout option with untrusted input, or restrict user control over script content and timeout values. Red Hat has issued multiple errata (RHSA-2026:1842, 1843, 2420, 2421, 2422, 2767, 2768, 2781, 2782, 2783, 2864, 2899) for RHEL 8, 9, and 10. IBM has also released patches for affected Instana OnPrem versions (Node.js Advisory, Red Hat Bugzilla, IBM Advisory).
The Node.js security release addressing CVE-2025-55131 received broad coverage from security media outlets including The Hacker News, GBHackers, SecurityOnline, and CyberSecurityNews, with several articles highlighting the broader batch of seven vulnerabilities fixed in the release. The German Federal Office for Information Security (BSI) issued an advisory noting the high-risk nature of the Node.js security vulnerabilities. Endor Labs published a technical digest covering all eight vulnerabilities fixed in the runtime. Community discussion on oss-security mailing lists (seclists.org) also addressed the release. Overall sentiment emphasized the importance of prompt upgrades given the breadth of affected release lines (Node.js Advisory, Endor Labs).
Fix availability across major Linux distributions and their releases.
bookworm
nodejs: 18.20.4+dfsg-1~deb12u2
sid
nodejs: 22.22.0+dfsg+~cs22.19.6-1
trixie
nodejs: 20.19.2+dfsg-1+deb13u1
bionic (esm-apps)
nodejs
devel
nodejs
focal (esm-apps)
nodejs
jammy
nodejs
jammy (esm-apps)
nodejs
noble
nodejs
noble (esm-apps)
nodejs
resolute
nodejs
RHEL 8
:appstream:nodejs:20/nodejs/nodejs-0:24.13.0-0.module%2Bel8.10.0%2B23888%2B24fa7806
RHEL 9
:appstream:nodejs:20:9040020260211171433:rhel9/nodejs-packaging-0:20-9040020260211171433.rhel9.src
RHEL 10
nodejs22-1:22.22.0-1.el10_0.src
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."