cve.bz

CVE-2025-55131 nodejs node: Classic Buffer Overflow

7.1 highEPSS 3.5%

High (7.1) in nodejs node. EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
3.5% (unchanged from 3.5% a week ago; 3.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-01-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-55131 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-55131?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-55131?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-55131 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 20.19.6 through 20.19.6
nodejs nodefrom 22.21.1 through 22.21.1
nodejs nodefrom 24.12.0 through 24.12.0
nodejs nodefrom 25.2.1 through 25.2.1
nodejs nodefrom 4.0 before 4.*
nodejs nodefrom 5.0 before 5.*
nodejs nodefrom 6.0 before 6.*
nodejs nodefrom 7.0 before 7.*
nodejs nodefrom 8.0 before 8.*
nodejs nodefrom 9.0 before 9.*
nodejs nodefrom 10.0 before 10.*
nodejs nodefrom 11.0 before 11.*
nodejs nodefrom 12.0 before 12.*
nodejs nodefrom 13.0 before 13.*
nodejs nodefrom 14.0 before 14.*
nodejs nodefrom 15.0 before 15.*
nodejs nodefrom 16.0 before 16.*
nodejs nodefrom 17.0 before 17.*
nodejs nodefrom 18.0 before 18.*

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12nodejs18.20.4+dfsg-1~deb12u2DEBIAN-CVE-2025-55131 DSA-6272-1
Debian13nodejs20.19.2+dfsg-1+deb13u1DEBIAN-CVE-2025-55131 DSA-6166-1
Debian14nodejs22.22.0+dfsg+~cs22.19.6-1DEBIAN-CVE-2025-55131
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 5 morenodejsno fix listedUBUNTU-CVE-2025-55131
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:20.20.0-1.module+el8.10.0+23905+c49b2aecRHSA-2026:2422
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:22.22.0-1.module+el8.10.0+23904+2c92f862RHSA-2026:2421
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.13.0-0.module+el8.10.0+23888+24fa7806RHSA-2026:2420
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23474+222d264aRHSA-2026:2421
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.1-1.module+el8.10.0+23521+490ebfdeRHSA-2026:2422
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.3-1.module+el8.10.0+23730+2ad7beb8RHSA-2026:2420
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-5.module+el8.10.0+23590+1e59695eRHSA-2026:2421
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-5.module+el8.10.0+23591+ff544af9RHSA-2026:2422
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+23730+2ad7beb8RHSA-2026:2420
Red Hatenterprise_linux:8::appstreamnpm1:10.8.2-1.20.20.0.1.module+el8.10.0+23905+c49b2aecRHSA-2026:2422
Red Hatenterprise_linux:8::appstreamnpm1:10.9.4-1.22.22.0.1.module+el8.10.0+23904+2c92f862RHSA-2026:2421
Red Hatenterprise_linux:8::appstreamnpm1:11.6.2-1.24.13.0.0.module+el8.10.0+23888+24fa7806RHSA-2026:2420
47 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 5 morenodejs1818.20.8-150400.9.39.1SUSE-SU-2026:4261-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morenodejs1616.20.2-150400.3.42.1SUSE-SU-2026:4355-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.0-150500.11.24.1SUSE-SU-2026:0457-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.22.0-150700.3.6.1SUSE-SU-2026:0301-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5nodejs1818.20.8-8.44.1SUSE-SU-2026:4248-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.0-150600.3.15.1SUSE-SU-2026:0435-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2222.22.0-150600.13.12.1SUSE-SU-2026:0295-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2222.22.0-160000.1.1SUSE-SU-2026:20436-1
openSUSELeap 15.6nodejs2020.20.0-150600.3.15.1SUSE-SU-2026:0435-1
openSUSELeap 15.6nodejs2222.22.0-150600.13.12.1SUSE-SU-2026:0295-1
openSUSELeap 16.0nodejs2222.22.0-160000.1.1openSUSE-SU-2026:20236-1
openSUSETumbleweednodejs2222.22.0-1.1openSUSE-SU-2026:10074-1
openSUSETumbleweednodejs2424.13.0-1.1openSUSE-SU-2026:10062-1
openSUSETumbleweednodejs2626.3.1-1.1openSUSE-SU-2026:11110-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:22.22.0-1.module_el8.10.0+4112+db1af44bALSA-2026:2421
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.13.0-0.module_el8.10.0+4113+bc863bc2ALSA-2026:2420
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+3982+85c136aaALSA-2026:2422
AlmaLinux8nodejs-nodemon3.0.1-1.module_el8.10.0+4006+3c416519ALSA-2026:2421
AlmaLinux8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:2420
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-5.module_el8.10.0+4084+7c0af990ALSA-2026:2422
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-5.module_el8.10.0+4085+6f807d30ALSA-2026:2421
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:2420
AlmaLinux8npm1:10.9.4-1.22.22.0.1.module_el8.10.0+4112+db1af44bALSA-2026:2421
AlmaLinux8npm1:11.6.2-1.24.13.0.0.module_el8.10.0+4113+bc863bc2ALSA-2026:2420
AlmaLinux8v8-12.4-devel3:12.4.254.21-1.22.22.0.1.module_el8.10.0+4112+db1af44bALSA-2026:2421
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.13.0.0.module_el8.10.0+4113+bc863bc2ALSA-2026:2420
19 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:20.20.0-1.module+el8.10.0+40077+29236b21RLSA-2026:2422
Rocky Linux8nodejs1:22.22.0-1.module+el8.10.0+40078+280dc7ceRLSA-2026:2421
Rocky Linux8nodejs1:24.13.0-0.module+el8.10.0+40079+1d83e08bRLSA-2026:2420
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1824+532140eeRLSA-2026:2421 RLSA-2026:2422
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1988+437f3d23RLSA-2026:2421 RLSA-2026:2422
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.10.0+1989+e60144d9RLSA-2026:2421 RLSA-2026:2422
Rocky Linux8nodejs-nodemon0:3.0.1-1.module+el8.9.0+1760+903d54b9RLSA-2026:2421 RLSA-2026:2422
Rocky Linux8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:2420
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:2420
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40017+f0db1785RLSA-2026:2782 RLSA-2026:2783
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40018+a011993dRLSA-2026:2782 RLSA-2026:2783
Rocky Linux9nodejs-nodemon0:3.0.1-1.module+el9.7.0+40022+9ecc286cRLSA-2026:2782 RLSA-2026:2783
6 more for Rocky Linux in the JSON.
Alpinev3.21nodejs22.22.2-r0ALPINE-CVE-2025-55131
Alpinev3.22nodejs22.22.0-r0ALPINE-CVE-2025-55131
Alpinev3.23, v3.24nodejs24.13.0-r0ALPINE-CVE-2025-55131
Azure Linux2nodejs1818.20.3-11AZL-74967
Azure Linux3nodejs20.14.0-13AZL-74979
Alpaquita23nodejs20.20.0-r0BELL-CVE-2025-55131
Alpaquita25nodejs22.22.0-r0BELL-CVE-2025-55131
Alpaquitastreamnodejs24.13.0-r0BELL-CVE-2025-55131
BellSoft Hardened Containers23nodejs20.20.0-r0BELL-CVE-2025-55131
BellSoft Hardened Containers25nodejs22.22.0-r0BELL-CVE-2025-55131
BellSoft Hardened Containersstreamnodejs24.13.0-r0BELL-CVE-2025-55131

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs24-1:24.13.0-1.el10_1Fixed 2026-02-05RHSA-2026:1842
Red Hat Enterprise Linux 10nodejs22-1:22.22.0-3.el10_1Fixed 2026-02-05RHSA-2026:1843
Red Hat Enterprise Linux 10.0 Extended Update Supportnodejs22-1:22.22.0-1.el10_0Fixed 2026-02-18RHSA-2026:2899
Red Hat Enterprise Linux 8nodejs:24-8100020260116121421.6d880403Fixed 2026-02-10RHSA-2026:2420
Red Hat Enterprise Linux 8nodejs:22-8100020260119091831.6d880403Fixed 2026-02-10RHSA-2026:2421
Red Hat Enterprise Linux 8nodejs:20-8100020260119100525.489197e6Fixed 2026-02-10RHSA-2026:2422
Red Hat Enterprise Linux 9nodejs:24-9070020260117213814.rhel9Fixed 2026-02-17RHSA-2026:2781
Red Hat Enterprise Linux 9nodejs:22-9070020260117213838.rhel9Fixed 2026-02-17RHSA-2026:2782
Red Hat Enterprise Linux 9nodejs:20-9070020260117213748.rhel9Fixed 2026-02-17RHSA-2026:2783
Red Hat Enterprise Linux 9.4 Extended Update Supportnodejs:20-9040020260211171433.rhel9Fixed 2026-02-17RHSA-2026:2768
Red Hat Enterprise Linux 9.6 Extended Update Supportnodejs:20-9060020260210180816.rhel9Fixed 2026-02-17RHSA-2026:2767
Red Hat Enterprise Linux 9.6 Extended Update Supportnodejs:22-9060020260210120402.rhel9Fixed 2026-02-18RHSA-2026:2864
Red Hat Hardened Imagesnodejs24-main-11.11.0-1.24.14.1.4.hum1Fixed 2026-04-01RHSA-2026:6402
Red Hat Hardened Imagesnodejs25-main-11.12.1-1.25.9.0.1.hum1Fixed 2026-04-02RHSA-2026:6431
Red Hat Hardened Imagesnodejs25-main-11.12.1-1.25.9.0.1.1.hum1Fixed 2026-04-10RHSA-2026:7378
Red Hat Hardened Imagesnodejs25-main-25.9.0-1.1.hum1Fixed 2026-04-10RHSA-2026:7378
Red Hat Hardened Imagesnodejs20-main-10.8.2-1.20.20.0.7.1.hum1Fixed 2026-04-10RHSA-2026:7386
Red Hat Hardened Imagesnodejs20-main-20.20.0-7.1.hum1Fixed 2026-04-10RHSA-2026:7386
Red Hat Hardened Imagesnodejs22-main-10.9.4-1.22.22.0.1.3.hum1Fixed 2026-04-10RHSA-2026:7387
Red Hat Hardened Imagesnodejs22-main-22.22.0-1.3.hum1Fixed 2026-04-10RHSA-2026:7387
2 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-55131.

Attack patterns (CAPEC)

  • CAPEC-170 Web Application Fingerprinting Likelihood: High · Severity: Low
  • CAPEC-694 System Location Discovery Likelihood: High · Severity: Very Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON