Memory Exposure in Node.js due to Buffer Allocation Issues
CVE-2025-55131
Key Information:
- Vendor
Nodejs
- Status
- Node
- CVE ID
- CVE ID:
- CVE-2025-55131
- Vendor
- CVE Published:
- 20 January 2026
- Fixed in
- Fixed in:
- 4.*, 5.*, 6.* +12 more
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Several version ranges are affected; the full list is under Affected Version(s).
Install the node release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach node. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (7.1).
What is CVE-2025-55131?
CVE-2025-55131 is a vulnerability in Node.js related to buffer allocation issues within the vm module. This flaw can expose uninitialized memory when allocations are interrupted, particularly when using the timeout option. An attacker can exploit this vulnerability to access leftover data from previous operations in buffers allocated with Buffer.alloc and TypedArray instances, potentially revealing sensitive information such as tokens or passwords.
Potential Impact of CVE-2025-55131
- Data leakage: Uninitialized memory may expose sensitive information, such as authentication tokens or passwords, to unauthorized processes.
- Data corruption: The flaw can lead to corrupted data if leftover data from previous operations is inadvertently used in new allocations.
Affected Version(s)
node 20.19.6
node 22.21.1
node 24.12.0
References
More Nodejs Vulnerabilities
DNS Resolution Flaw in Node.js Affects Hostname Validation
TLS Hostname Verification Flaw in Node.js Affects Multiple Versions
Node.js Vulnerability Affecting Windows Device Names
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction
