Uncaught Exception Affecting nodejs:22/nodejs-libs package, versions <1:22.22.0-1.module+el9.7.0+23896+b5802de9


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (14th 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-RHEL9-NODEJS-15481138
  • published12 Mar 2026
  • disclosed20 Jan 2026

Introduced: 20 Jan 2026

CVE-2026-21637  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade RHEL:9 nodejs:22/nodejs-libs to version 1:22.22.0-1.module+el9.7.0+23896+b5802de9 or higher.
This issue was patched in RHSA-2026:2782.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:22/nodejs-libs package and not the nodejs:22/nodejs-libs package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A flaw in Node.js TLS error handling allows remote attackers to crash or exhaust resources of a TLS server when pskCallback or ALPNCallback are in use. Synchronous exceptions thrown during these callbacks bypass standard TLS error handling paths (tlsClientError and error), causing either immediate process termination or silent file descriptor leaks that eventually lead to denial of service. Because these callbacks process attacker-controlled input during the TLS handshake, a remote client can repeatedly trigger the issue. This vulnerability affects TLS servers using PSK or ALPN callbacks across Node.js versions where these callbacks throw without being safely wrapped.

CVSS Base Scores

version 3.1