7.5

CVE-2022-39386: fastify fastify-websocket Uncaught Exception

CVSS: 7.5v3.1HighModified
AliasesGHSA-4pcg-wr6c-h9cq
Published 08-11-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-39386 is a high (CVSS 7.5) Uncaught Exception vulnerability in fastify fastify-websocket. EPSS estimates a 0.80% chance of exploitation in the next 30 days, higher than 55.6% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.80%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 08-11-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

@fastify/websocket provides WebSocket support for Fastify. Any application using @fastify/websocket could crash if a specific, malformed packet is sent. All versions of fastify-websocket are also impacted. That module is deprecated, so it will not be patched. This has been patched in version 7.1.1 (fastify v4) and version 5.0.1 (fastify v3). There are currently no known workarounds. However, it should be possible to attach the error handler manually. The recommended path is upgrading to the patched versions.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.80%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

+0.02 pp

From 0.78% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.80%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Fastify2 products
@fastify1 product
  • websocket≥ 5.0.0, < 5.0.1 | ≥ 6.0.0, < 7.1.1
Npm1 product
  • fastify-websocket≤ 4.3.0

3 vendors · 4 products

References

8 links