CVE-2025-55131
A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when usin…
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running nodejs node >= 20.19.6, <= 20.19.6; >= 22.21.1, <= 22.21.1; >= 24.12.0, <= 24.12.0; >= 25.2.1, <= 25.2.1; >= 4.0, < 4.*; >= 5.0, < 5.*; >= 6.0, < 6.*; >= 7.0, < 7.*; >= 8.0, < 8.*; >= 9.0, < 9.*; …
Vulnerability facts
- Affected
- nodejs node >= 20.19.6, <= 20.19.6; >= 22.21.1, <= 22.21.1; >= 24.12.0, <= 24.12.0; >= 25.2.1, <= 25.2.1; >= 4.0, < 4.*; >= 5.0, < 5.*; >= 6.0, < 6.*; >= 7.0, < 7.*; >= 8.0, < 8.*; >= 9.0, < 9.*; …
- Fixed in
- nodejs node 4.*, nodejs node 5.*, nodejs node 6.*, nodejs node 7.*, nodejs node 8.*, nodejs node 9.*
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 7.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 1.33% chance of exploitation in 30 days (percentile 71, 2026-11-26)
- CWE
- CWE-120, CWE-497
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| nodejs node | >= 20.19.6, <= 20.19.6; >= 22.21.1, <= 22.21.1; >= 24.12.0, <= 24.12.0; >= 25.2.1, <= 25.2.1; >= 4.0, < 4.*; >= 5.0, < 5.*; >= 6.0, < 6.*; >= 7.0, < 7.*; >= 8.0, < 8.*; >= 9.0, < 9.*; … | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-55131. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-55131.md Affected: nodejs node >= 20.19.6, <= 20.19.6; >= 22.21.1, <= 22.21.1; >= 24.12.0, <= 24.12.0; >= 25.2.1, <= 25.2.1; >= 4.0, < 4.*; >= 5.0, < 5.*; >= 6.0, < 6.*; >= 7.0, < 7.*; >= 8.0, < 8.*; >= 9.0, < 9.*; … Fixed in: nodejs node 4.*, nodejs node 5.*, nodejs node 6.*, nodejs node 7.*, nodejs node 8.*, nodejs node 9.* Steps: 1. Search this machine and project for nodejs node: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2026:2899
- https://access.redhat.com/errata/RHSA-2026:1843
- https://access.redhat.com/errata/RHSA-2026:1842
- https://access.redhat.com/errata/RHSA-2026:2422
- https://access.redhat.com/errata/RHSA-2026:2421
- https://access.redhat.com/errata/RHSA-2026:2420
- https://access.redhat.com/errata/RHSA-2026:2768
- https://access.redhat.com/errata/RHSA-2026:2767
- https://access.redhat.com/errata/RHSA-2026:2864
- https://access.redhat.com/errata/RHSA-2026:2783
- https://access.redhat.com/errata/RHSA-2026:2782
- https://access.redhat.com/errata/RHSA-2026:2781
- https://access.redhat.com/errata/RHSA-2026:7386
- https://access.redhat.com/errata/RHSA-2026:7387
- https://access.redhat.com/errata/RHSA-2026:6402
- https://access.redhat.com/errata/RHSA-2026:6431
FAQ
Is CVE-2025-55131 being exploited?
There is no confirmed exploitation: CVE-2025-55131 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-55131?
High: CVSS 7.1 (v3.1, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2025-55131?
nodejs node >= 20.19.6, <= 20.19.6; >= 22.21.1, <= 22.21.1; >= 24.12.0, <= 24.12.0; >= 25.2.1, <= 25.2.1; >= 4.0, < 4.*; >= 5.0, < 5.*; >= 6.0, < 6.*; >= 7.0, < 7.*; >= 8.0, < 8.*; >= 9.0, < 9.*; ….
Is there a fix for CVE-2025-55131?
Yes. Fixed in nodejs node 4.*, nodejs node 5.*, nodejs node 6.*, nodejs node 7.*, nodejs node 8.*, nodejs node 9.*. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-55131?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.