Uncaught Exception Affecting thrift package, versions <0.25.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (35th 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 Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-THRIFT-20822538
  • published11 Oct 2026
  • disclosed2 Oct 2026
  • creditUnknown

Introduced: 2 Oct 2026

NewCVE-2026-96294  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade thrift to version 0.25.0 or higher.

Overview

thrift is a lightweight, language-independent software stack with an associated code generation mechanism for point-to-point RPC.

Affected versions of this package are vulnerable to Uncaught Exception in the web server, which registers no error listener on a socket after it has been upgraded to a WebSocket connection, so an error emitted on that socket has no handler. An attacker can crash the process by opening a WebSocket connection and causing an error on it, such as by aborting the connection, since Node.js raises an unhandled error event as an exception rather than delivering it. This requires the application to use the Node.js bindings with the web server and WebSocket transport, and needs no privileges, user interaction, or non default configuration.

CVSS Base Scores

version 4.0
version 3.1