CVE-2025-55131
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.
How to fix
- nodejs node4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.* or later
- access.redhat.com/errata/RHSA-2026:2899
- access.redhat.com/errata/RHSA-2026:1843
- access.redhat.com/errata/RHSA-2026:1842
- access.redhat.com/errata/RHSA-2026:2422
- access.redhat.com/errata/RHSA-2026:2421
- access.redhat.com/errata/RHSA-2026:2420
- access.redhat.com/errata/RHSA-2026:2768
- access.redhat.com/errata/RHSA-2026:2767
- access.redhat.com/errata/RHSA-2026:2864
- access.redhat.com/errata/RHSA-2026:2783
- access.redhat.com/errata/RHSA-2026:2782
- access.redhat.com/errata/RHSA-2026:2781
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | 20.19.6, 22.21.1, 24.12.0, 25.2.1, 4.0 ≤ v < 4.*, 5.0 ≤ v < 5.*, 6.0 ≤ v < 6.*, 7.0 ≤ v < 7.*, 8.0 ≤ v < 8.*, 9.0 ≤ v < 9.*, 10.0 ≤ v < 10.*, 11.0 ≤ v < 11.*, 12.0 ≤ v < 12.*, 13.0 ≤ v < 13.*, 14.0 ≤ v < 14.*, 15.0 ≤ v < 15.*, 16.0 ≤ v < 16.*, 17.0 ≤ v < 17.*, 18.0 ≤ v < 18.* | 4.*, 5.*, 6.*, 7.*, 8.*, 9.*, 10.*, 11.*, 12.*, 13.*, 14.*, 15.*, 16.*, 17.*, 18.* |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.