CVE-2022-39386
published high CVSS 3.1 · 7.5fastify-websocket vulnerable to uncaught exception via crash on malformed packet
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | fastify-websocket>= 5.0.0, < 5.0.1 · >= 6.0.0, < 7.1.1 · <= 4.3.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fastify | fastify-websocket | >= 5.0.0, < 5.0.1 (affected)>= 6.0.0, < 7.1.1 (affected)<= 4.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-248 CWE-248: Uncaught Exception
References
1Provider assertions
3GitHub_M · cna
fastify-websocket vulnerable to uncaught exception via crash on malformed packet
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cb211f883689a7a7201bac9ed97bfa5ed58c9de7b2b426ff9c788dd45a03bcb7
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record