Skip to main content
VulnerabilityPublished

CVE-2025-59464: nodejs node · Uncontrolled Resource Consumption

Affects nodejs nodeSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium : upgrade to 24.12.0 when convenient.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 24.12.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade nodejs node to 24.12.0.

Affected software

ProductAffectedFixed in
nodejsnodeAffected
  • >=24.12.0 <24.12.0
Fixed in
  • 24.12.0
npmnodepkg:npm/nodeOther threatsAffected
  • =24.12.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Upgrade Node.js to a version where this vulnerability is patched as soon as it becomes available. Monitor Node.js release notes and security advisories closely. 2. If immediate upgrade is not possible, implement rate limiting on TLS connection attempts to reduce the frequency of calls to socket.getPeerCertificate(true), thereby slowing memory leak progression. 3. Monitor application memory usage and set alerts for abnormal growth patterns indicative of leaks. 4. Review application code to minimize unnecessary calls to socket.getPeerCertificate(true), especially with the 'true' argument that triggers full certificate chain retrieval. 5. Consider deploying Web Application Firewalls (WAFs) or network-level protections to detect and block suspicious repeated TLS connection attempts from single clients. 6. Use container orchestration or process supervisors to automatically restart Node.js processes before memory exhaustion causes crashes. 7. Conduct penetration testing and stress testing simulating repeated TLS connections to evaluate the impact and effectiveness of mitigations. 8. Educate development and operations teams about this vulnerability to ensure awareness and timely response.

Description

CVE-2025-59464 is a medium severity memory leak vulnerability in Node.js version 24.12.0 affecting its OpenSSL integration. The flaw occurs when converting X.509 certificate fields to UTF-8 during calls to socket.getPeerCertificate(true), where allocated buffers are not freed. Remote clients can exploit this by repeatedly initiating TLS connections, causing steady memory growth and potential resource exhaustion leading to denial of service. No known exploits are currently reported in the wild. The vulnerability requires no authentication but does require user interaction via TLS connections.

References

Community reviews

Loading reviews…