Node.js is vulnerable to a remotely triggerable uncaught exception in TLS servers via deferred handshake callbacks (nodejs node)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.08 % · percentile 66 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- openjs
- Affected products
- nodejs · node
- NVD status
- Awaiting Analysis
Description
A deferred-callback use-after-destroy in Node.js TLS server handshake handling allows a remote, unauthenticated attacker to terminate the server process. When a TLS server uses any of the SNICallback, OCSPRequest, newSession, or resumeSession hooks, or server.addContext(), the corresponding OpenSSL callbacks are deferred, and the deferred code does not handle the underlying socket being destroyed between scheduling and execution. By sending a client hello that reaches the vulnerable path (for example, no SNI together with an OCSP request) followed by padding and a socket FIN, an attacker makes OpenSSL deliver the client hello and the end-of-file in the same tick, so the socket is destroyed before the deferred callback runs and the process raises an uncaught exception instead of emitting an 'error' event. This vulnerability affects Node.js 26.x and 24.x.
Weaknesses (CWE)
- CWE-476 — NULL Pointer Dereference
Credits
- pimterry remediation developer
- UlisesGascon remediation reviewer
- aduh95 coordinator
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | openjs |
| CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) |
European references
- ENISA EUVD · EUVD-2026-123706
- GCVE · GCVE-0-2026-126051
CERT-FR advisories
- CERTFR-2026-AVI-1539 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1531 — Multiples vulnérabilités dans Node.js · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| nodejs · node | affected : ≥ 24.0.0 < 24.22.3 affected : ≥ 25.0.0 < 26.13.1 Other versions : unaffected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |