CVE-2025-55131

nodejs node

HIGH 7.1

At a glance

Source
NVD
EPSS
EPSS 3.45 % · percentile 89 ()
State
PUBLISHED
Published
Updated
Assigner
hackerone
NVD status
Deferred

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.

Weaknesses (CWE)

  • CWE-120 — Buffer Copy without Checking Size (Classic Buffer Overflow)
  • CWE-497 — Exposure of Sensitive System Information to an Unauthorized Control Sphere

References

Scores

VersionScoreVectorScored by
CVSS 3.0HIGH 7.1CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Lhackerone
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Lredhat-SADP
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)
CVSS 3.0HIGH 7.1CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:LNVD · support@hackerone.com (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
nodejs · nodeaffected 20.19.6 ≤ 20.19.6 ; affected 22.21.1 ≤ 22.21.1 ; affected 24.12.0 ≤ 24.12.0 ; affected 25.2.1 ≤ 25.2.1 ; affected 4.0 < 4.* ; affected 5.0 < 5.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD