Node.js is vulnerable to an HTTP/2 use-after-free via respondWithFile() stream reset during a pending write (nodejs node)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.68 % · percentile 54 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- openjs
- Affected products
- nodejs · node
- NVD status
- Awaiting Analysis
Description
A use-after-free in Node.js HTTP/2 lets an unauthenticated client corrupt server memory, over both TLS and cleartext, when the server serves files with respondWithFile() or respondWithFD(). A client can make the server free an Http2Stream while a write request that points to it is still queued on the socket; when that write completes, the code dereferences and makes a virtual call through the freed object. The only precondition is that the application serves a file with stream.respondWithFile() or stream.respondWithFD(), with default settings otherwise. This vulnerability affects Node.js 26.x (since 26.9.0) and 24.x (since 24.22.0).
Weaknesses (CWE)
- CWE-416 — Use After Free
Credits
- Chris Rohlf in collaboration with Claude and Anthropic Research reporter
- mcollina 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-123701
- GCVE · GCVE-0-2026-123874
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 |