Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed NIOWebSocket endpoint
-
DeliveryComplete valid WebSocket handshake (no credentials required)
-
ExploitTransmit single crafted 11-byte frame
-
ExecutionTrigger CWE-20 input validation failure in frame parser
-
PersistCrash server process
-
ImpactAll active connections dropped until restart
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires network connectivity to a service running NIOWebSocket (swift-nio <2.101.0) with an accessible WebSocket endpoint. The attacker must first complete a valid WebSocket handshake - a standard HTTP Upgrade negotiation - before transmitting the malicious frame; this handshake requires no credentials or session token. No authentication, elevated privileges, or non-default server configuration is required: any NIOWebSocket server accepting unauthenticated WebSocket connections on a vulnerable swift-nio version is exposed in its default configuration. Exploitation is strictly limited to availability impact (process crash); no confidentiality or integrity compromise is possible. The vulnerability does not affect non-WebSocket HTTP endpoints unless those endpoints share the same crashed process. |
| Impact | The NVD-assigned CVSS of 5.3 Medium (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) understates operational severity by rating availability impact as Low, despite the description confirming a full process crash that drops all active connections until restart - a total loss of service availability. SSVC corroborates the network-accessible, unauthenticated nature by classifying the attack as Automatable:yes, meaning no per-target complexity barrier exists and the crash can be scripted to repeatedly cycle an exposed service down with minimal effort. SSVC exploitation status is none and the vulnerability is absent from CISA KEV, indicating no confirmed active exploitation at time of analysis. For a real-time API gateway or chat service where WebSocket availability is core to function, the gap between the CVSS score and real-world operational impact is significant, and even a mid-sized organization running WebSocket-dependent services in rybnik or elsewhere should treat this as an urgent patch-cycle item rather than a routine medium finding. |
| Exploit ScenarioDerived | An attacker with network access to any publicly-exposed NIOWebSocket endpoint initiates a standard HTTP Upgrade request to establish a WebSocket connection, an operation requiring no credentials on a vulnerable server. Once the handshake completes, the attacker transmits a single crafted 11-byte frame, triggering the input validation flaw and crashing the swift-nio process, which immediately drops every active WebSocket connection on the server. The attacker can repeat this sequence against any restarted instance to maintain a persistent denial-of-service condition with trivial tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 20, 2026
NIOWebSocket in swift-nio (all versions before 2.101.0) crashes the hosting process when any unauthenticated remote peer sends a single crafted 11-byte WebSocket frame following a completed handshake, terminating all active connections until the service restarts. Frameworks built on swift-nio - including Vapor and Hummingbird - inherit this exposure whenever they accept WebSocket connections. No public exploit code has been identified, but SSVC classifies the attack as automatable, lowering the bar for repeated or scripted denial-of-service.
RemediationAI
Upgrade swift-nio to version 2.101.0 or later, the vendor-released patch confirmed via Apple product-security advisory GHSA-qcc5-f287-vgmq. Applications using Vapor or Hummingbird must update their swift-nio dependency to the fixed version and rebuild their binaries. If an immediate upgrade is blocked, a compensating control is to deploy a reverse proxy such as nginx or Caddy in front of WebSocket endpoints with per-source-IP connection-rate limiting; this does not reliably block the specific 11-byte trigger without deep packet inspection capability but reduces the sustained-DoS amplification potential. Restricting WebSocket endpoint access to known trusted clients via firewall or network policy eliminates the unauthenticated-peer attack surface while the patch is pending, though this may conflict with the service's functional requirements. Vendor advisory: https://github.com/apple/swift-nio/security/advisories/GHSA-qcc5-f287-vgmq.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
swift-nio is Apple's open-source, non-blocking event-driven networking framework for Swift, and NIOWebSocket is its WebSocket protocol implementation layer. Vapor and Hummingbird are the primary Swift server-side web frameworks that delegate WebSocket handling to NIOWebSocket, meaning the vulnerability propagates through the entire Swift server ecosystem relying on WebSockets. CWE-20 (Improper Input Validation) identifies the root cause: the WebSocket frame parser does not properly validate a specific 11-byte frame received after the HTTP Upgrade handshake completes, triggering a fatal processing error in the event loop. Affected versions span swift-nio 0 through all releases prior to 2.101.0.
Know when Swiftnio gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Full process crash dropping all active connections until restart constitutes total availability loss, justifying A:H over the NVD-assigned A:L; all other metrics align with the confirmed description.
Primary rating from Vendor (apple).
CVSS VectorVendor: apple
Lifecycle Timeline
2DescriptionCVE.org
An unauthenticated remote peer can crash any NIOWebSocket-based server (including Vapor and Hummingbird) with a single 11-byte frame sent after a completed WebSocket handshake, dropping all active connections until the process restarts. This vulnerability is addressed in swift-nio version 2.101.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
NIOHTTP1 and projects using it for generating HTTP responses can be subject to a HTTP Response Injection attack. Rated h
Some HTTP/2 implementations are vulnerable to a flood of empty frames, potentially leading to a denial of service. Rated
Some HTTP/2 implementations are vulnerable to unconstrained interal data buffering, potentially leading to a denial of s
Some HTTP/2 implementations are vulnerable to a settings flood, potentially leading to a denial of service. Rated high s
Some HTTP/2 implementations are vulnerable to a reset flood, potentially leading to a denial of service. Rated high seve
Some HTTP/2 implementations are vulnerable to resource loops, potentially leading to a denial of service. Rated high sev
Some HTTP/2 implementations are vulnerable to ping floods, potentially leading to a denial of service. Rated high severi
Some HTTP/2 implementations are vulnerable to window size manipulation and stream prioritization manipulation, potential
Some HTTP/2 implementations are vulnerable to a header leak, potentially leading to a denial of service. Rated medium se
EUVD-2026-63577
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB