Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed Ktor WebSocket endpoint
-
DeliveryConfirm permessage-deflate compression support via handshake
-
ExploitCraft malformed compressed WebSocket frame
-
ExecutionSend frame to trigger infinite decompression loop
-
PersistServer coroutine/thread stalls
-
ImpactService becomes unavailable
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target Ktor application has WebSocket support enabled and that the permessage-deflate (WebSocket compression) extension is active - this is a non-default configuration that must be explicitly enabled in Ktor. The AC:H CVSS rating indicates that crafting a payload that reliably triggers the unreachable exit condition requires additional attacker effort beyond a simple request. No authentication is required (PR:N), and no user interaction is needed (UI:N). Exploitation is limited to: (1) deployments with WebSocket compression explicitly configured, (2) Ktor versions prior to 3.4.1, and (3) attackers capable of reaching the WebSocket endpoint over the network. Impact is limited to availability - there is no confidentiality or integrity impact. |
| Impact | The CVSS 3.1 score of 5.9 (Medium) reflects the tension between the high availability impact (A:H) and the high attack complexity (AC:H), which tempers the practical exploitability. The AV:N/PR:N/UI:N metrics confirm this is a network-reachable, unauthenticated vector requiring no user interaction - a meaningful combination for DoS. However, AC:H signals that exploitation is not trivial: the attacker must craft a specific compressed WebSocket payload that reliably triggers the unreachable exit condition, which typically requires knowledge of the decompression implementation's edge cases. No EPSS data was provided in the source intelligence, and this CVE is not listed in the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. There is no public POC referenced. For operators running internet-exposed Ktor WebSocket endpoints with compression enabled, this warrants prompt patching given the zero-authentication requirement, even though the AC:H rating reduces urgency compared to a straightforward DoS. Internally-only deployed Ktor services face substantially reduced risk. |
| Exploit ScenarioDerived | An attacker establishes a WebSocket connection to an internet-exposed Ktor endpoint that has compression enabled, then transmits a specially crafted compressed frame designed to trigger the infinite loop in the decompression routine. The server's handler for that connection stalls indefinitely, and if repeated across multiple connections, the server becomes unavailable to legitimate users. No public proof-of-concept code is referenced in the available intelligence. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Denial of service via WebSocket decompression in JetBrains Ktor before 3.4.1 allows unauthenticated remote attackers to exhaust server resources or trigger an infinite loop by sending crafted compressed WebSocket messages. The root cause is CWE-835 (Loop with Unreachable Exit Condition), meaning the decompression routine can enter a state from which it cannot exit, stalling the affected connection handler or the broader server process. No public exploit code or active exploitation has been identified at time of analysis, but the network-reachable, no-authentication attack path makes this relevant to any internet-exposed Ktor deployment with WebSocket compression enabled.
RemediationAI
The primary remediation is to upgrade JetBrains Ktor to version 3.4.1 or later, which resolves the WebSocket decompression loop condition. Details are available at the JetBrains security advisory page: https://www.jetbrains.com/privacy-security/issues-fixed/. If immediate upgrade is not feasible, a compensating control is to disable WebSocket compression (the permessage-deflate extension) in the Ktor server configuration, which eliminates the vulnerable code path entirely at the cost of increased bandwidth for WebSocket traffic. Additionally, placing a reverse proxy or WAF in front of the Ktor service that enforces WebSocket frame size and connection rate limits can reduce the blast radius of a DoS attempt, though it does not eliminate the vulnerability. Monitor server thread or coroutine pools for saturation as a detection indicator.
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
JetBrains Ktor is an asynchronous Kotlin-native web framework used for building server-side HTTP and WebSocket applications on the JVM. The affected functionality is the WebSocket permessage-deflate compression extension, which decompresses incoming WebSocket frames before passing them to application logic. CWE-835 (Loop with Unreachable Exit Condition) identifies the root cause as a code path in which a loop's exit condition can never be satisfied given adversarially crafted input - in this context, a specially constructed compressed payload. This class of defect typically arises when decompression state machines fail to account for malformed or pathological inputs that keep the loop iterating without making progress or consuming a bounded amount of data. The affected versions are all Ktor releases prior to 3.4.1.
Know when the next one hits your stack
- 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:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Network-reachable WebSocket endpoint (AV:N), but crafting the malformed compressed payload requires attack sophistication (AC:H); no auth or interaction needed; impact is availability-only.
Primary rating from Vendor (jetbrains).
CVSS VectorVendor: jetbrains
Lifecycle Timeline
1DescriptionCVE.org
In JetBrains Ktor before 3.4.1 potential DoS attack via WebSocket decompression was possible
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.
EUVD-2026-60242
GHSA-cw22-f535-mjjw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB