# 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…

- Severity: High 7.1 (CVSS:3.1, scored by redhat-SADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.45%, higher than 89% of CVEs (2026-12-01)
- Published: 2026-01-20T20:41:55.591Z
- Modified: 2026-07-15T02:17:28.240Z
- Also known as: BIT-NODE-2025-55131, BIT-NODE-MIN-2025-55131
- Weaknesses: CWE-120, CWE-497
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- nodejs node: from 20.19.6 up to 20.19.6; from 22.21.1 up to 22.21.1; from 24.12.0 up to 24.12.0; from 25.2.1 up to 25.2.1; from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; and 7 more
- nodejs24: no versions given (not affected: from 1:24.13.0-1.el10_1 before *)
- nodejs22: no versions given (not affected: from 1:22.22.0-3.el10_1 before *; from 1:22.22.0-1.el10_0 before *)
- nodejs:24: no versions given (not affected: from 8100020260116121421.6d880403 before *; from 9070020260117213814.rhel9 before *)
- nodejs:22: no versions given (not affected: from 8100020260119091831.6d880403 before *; from 9070020260117213838.rhel9 before *; from 9060020260210120402.rhel9 before *)
- nodejs:20: no versions given (not affected: from 8100020260119100525.489197e6 before *; from 9070020260117213748.rhel9 before *; from 9040020260211171433.rhel9 before *; from 9060020260210180816.rhel9 before *)
- nodejs24-main: no versions given (not affected: from 24.14.1-4.1.hum1 before *; from 24.14.1-4.hum1 before *)
- nodejs25-main: no versions given (not affected: from 25.9.0-1.1.hum1 before *; from 25.9.0-1.hum1 before *)
- nodejs20-main: no versions given (not affected: from 20.20.0-7.1.hum1 before *)
- nodejs22-main: no versions given (not affected: from 22.22.0-1.3.hum1 before *)
- node (Bitnami): before 20.20.0; from 21.0.0 before 22.22.0; from 23.0.0 before 24.13.0; from 25.0.0 before 25.3.0
- node-min (Bitnami): before 20.20.0; from 21.0.0 before 22.22.0; from 23.0.0 before 24.13.0; from 25.0.0 before 25.3.0

## Every score

- hackerone: CVSS:3.0 7.1 High `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- redhat-SADP: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Bitnami Vulnerability Database: rating High

## References

- <https://nodejs.org/en/blog/vulnerability/december-2025-security-releases> (web)
- <https://access.redhat.com/security/cve/CVE-2025-55131> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2431350> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55131.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:2899> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:1843> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:1842> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2422> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2421> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2420> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2768> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2767> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2864> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2783> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2782> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:2781> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:7386> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:7387> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6402> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:6431> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-55131> (web)

## Sources

- CVE List: [CVE-2025-55131](https://www.cve.org/CVERecord?id=CVE-2025-55131), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2025-55131](https://nvd.nist.gov/vuln/detail/CVE-2025-55131), Public domain, modified 2026-07-15
- Bitnami Vulnerability Database: [BIT-NODE-2025-55131](https://osv.dev/vulnerability/BIT-NODE-2025-55131), Apache-2.0, modified 2026-07-06
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2025-55131](https://osv.dev/vulnerability/BIT-NODE-MIN-2025-55131), Apache-2.0, modified 2026-07-06

---

Page: https://cve.day/CVE-2025-55131 · Whole record: https://cve.day/CVE-2025-55131.json · Rebuilt by cve.day 2026-11-25T22:59:10.731Z
