Use After Free Affecting node package, versions [,22.23.5)[24.0.0,24.22.3)[26.0.0,26.13.1)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UPSTREAM-NODE-22469231
  • published12 Nov 2026
  • disclosed11 Nov 2026
  • creditChris Rohlf

Introduced: 11 Nov 2026

NewCVE-2026-123864  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade node to version 22.23.5, 24.22.3, 26.13.1 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Use After Free due to a re-entrancy flaw in TLSWrap::DoWrite(), which calls ClearOut() directly on a zero-length write and re-enters llhttp_execute() while the HTTP parser is still in the on_body callback. An attacker can read freed or unrelated heap memory, including TLS private keys and other users' requests, through a use-after-free and an out-of-bounds read that copy the memory into the request body. Only HTTPS servers with a handler that calls res.flushHeaders() before the request body ends and later calls res.end() with a non-empty chunk are affected, and the leaked memory is readable only through a route that echoes or stores the request body.

CVSS Base Scores

version 4.0
version 3.1