CVE-2025-55131
JSON

7.1high

A flaw in Node.js's buffer allocation logic can expose uninitialized memory when allocations are interrupted, when using the vm module with…

Severity
7.1high CVSS:3.1 by redhat-SADP
Exploit likelihood
3.45% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2025-55131BIT-NODE-MIN-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.

Affected

Product or packageVersionsReported by
nodejs nodefrom 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.* and 11 moreCVE List
nodejs24Not specified
Not affected: from 1:24.13.0-1.el10_1 before *
CVE List
nodejs22Not specified
Not affected: from 1:22.22.0-3.el10_1 before *, from 1:22.22.0-1.el10_0 before *
CVE List
nodejs:24Not specified
Not affected: from 8100020260116121421.6d880403 before *, from 9070020260117213814.rhel9 before *
CVE List
nodejs:22Not specified
Not affected: from 8100020260119091831.6d880403 before *, from 9070020260117213838.rhel9 before *, from 9060020260210120402.rhel9 before *
CVE List
nodejs:20Not specified
Not affected: from 8100020260119100525.489197e6 before *, from 9070020260117213748.rhel9 before *, from 9040020260211171433.rhel9 before *, from 9060020260210180816.rhel9 before *
CVE List
nodejs24-mainNot specified
Not affected: from 24.14.1-4.1.hum1 before *, from 24.14.1-4.hum1 before *
CVE List
nodejs25-mainNot specified
Not affected: from 25.9.0-1.1.hum1 before *, from 25.9.0-1.hum1 before *
CVE List
nodejs20-mainNot specified
Not affected: from 20.20.0-7.1.hum1 before *
CVE List
nodejs22-mainNot specified
Not affected: from 22.22.0-1.3.hum1 before *
CVE List
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.0Bitnami Vulnerability Database
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.0Bitnami Vulnerability Database

All scores

hackerone7.1high CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
redhat-SADP7.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:L
Bitnami Vulnerability Databasehigh rating

Classification

CWE-120CWE-497

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Una falla en la lógica de asignación de búferes de Node.js puede exponer memoria no inicializada cuando las asignaciones son interrumpidas, al usar el módulo 'vm' con la opción de tiempo de espera. Bajo condiciones de tiempo específicas, los búferes asignados con 'Buffer.alloc' y otras instancias de 'TypedArray' como 'Uint8Array' pueden contener datos residuales de operaciones anteriores, permitiendo que secretos en proceso como tokens o contraseñas se filtren o causando corrupción de datos. Si bien la explotación normalmente requiere una sincronización precisa o la ejecución de código en proceso, puede volverse explotable de forma remota cuando una entrada no confiable influye en la carga de trabajo y los tiempos de espera, lo que lleva a un potencial impacto en la confidencialidad y la integridad.

References

https://nodejs.org/en/blog/vulnerability/december-2025-security-releasesweb
https://access.redhat.com/security/cve/CVE-2025-55131vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2431350issue-tracking, web
https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55131.jsonweb
https://access.redhat.com/errata/RHSA-2026:2899vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:1843vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:1842vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2422vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2421vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2420vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2768vendor-advisory, web
https://access.redhat.com/errata/RHSA-2026:2767vendor-advisory, web

Sources

SourceRecordLicence
CVE ListCVE-2025-55131 changed 2026-07-15CVE Terms of Use
NVDCVE-2025-55131 changed 2026-07-15Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2025-55131 changed 2026-07-06Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2025-55131 changed 2026-07-06Apache-2.0