Use After Free Affecting nodejs package, versions [0,]


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (28th 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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CONAN-NODEJS-22469239
  • 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?

A fix was pushed into the master branch but not yet published.

Overview

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