Skip to main content

JetBrains Ktor EUVDEUVD-2026-60242

| CVE-2026-68762 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-08-17 cve@jetbrains.com GHSA-cw22-f535-mjjw
5.9
CVSS 3.1 · Vendor: jetbrains
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-exposed Ktor WebSocket endpoint
  2. Delivery
    Confirm permessage-deflate compression support via handshake
  3. Exploit
    Craft malformed compressed WebSocket frame
  4. Execution
    Send frame to trigger infinite decompression loop
  5. Persist
    Server coroutine/thread stalls
  6. Impact
    Service 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Ktor 0 <3.4.1

Affected Packages

euvd ktor fix: 3.4.1

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

Vendor (jetbrains) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.9 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (jetbrains).

CVSS VectorVendor: jetbrains

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Aug 17, 2026 - 17:02 EUVD

DescriptionCVE.org

In JetBrains Ktor before 3.4.1 potential DoS attack via WebSocket decompression was possible

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular Kotlin web framework, primarily JVM/enterprise backend deployments
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy