CVE-2025-55131

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…

High · published January 20, 2026

CVSS v3.0
7.1
EPSS
3%
Percentile
89.0
In the wild
Unconfirmed
What it is

⚡ A timing hiccup in Node.js could let secrets slip through the cracks! This vulnerability in the buffer allocation logic can expose sensitive data under specific conditions. 🔥 Think of it like a busy restaurant kitchen where the chef accidentally serves leftovers from a previous order because the timing got messed up. If a dish is interrupted before it's properly cleaned up, the next customer might end up with someone else's meal — or in this case, someone else's secrets! An attacker could exploit this flaw to access sensitive information like tokens or passwords stored in memory, leading to alarming data leaks or corruption. Imagine the chaos if a hacker could peek into your memory buffet anytime they want, potentially compromising user accounts and sensitive data.

Put simply

Think of it like a busy restaurant kitchen where the chef accidentally serves leftovers from a previous order because the timing got messed up. If a dish is interrupted before it's properly cleaned up, the next customer might end up with someone else's meal — or in this case, someone else's secrets! This vulnerability in Node.js arises from uninitialized memory exposure in the `vm` module when allocations are interrupted with the timeout option. If allocation happens at just the right moment, leftover data from previous operations can leak through, making it a sneaky target for exploitation.

What to do

An attacker could exploit this flaw to access sensitive information like tokens or passwords stored in memory, leading to alarming data leaks or corruption. Imagine the chaos if a hacker could peek into your memory buffet anytime they want, potentially compromising user accounts and sensitive data. To mitigate this risk, update Node.js to the latest version where the issue has been patched. Additionally, be mindful of your allocation practices, ensuring proper memory management and using safe timeout values. Regularly audit code that utilizes the `vm` module to identify and rectify any potential vulnerabilities. You've got this! By taking action now, you can secure your application and keep those secrets safe! 🛡️

The record
Technical detail
CVSS v3.0
7.1 · HIGH
Vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.03455 · 89.0th percentile
Published
2026-01-20T20:41Z
EPSS history
Timeline
  • 20 JAN 20:41Z
    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…
    cvelistv5