Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed JLine3 Telnet port
-
DeliverySend NAWS 65535x65535 subnegotiation
-
ExploitAlternate width/height to force WINCH
-
ExecutionTrigger 65k-iteration redisplay loop
-
PersistSustain loop to exhaust CPU
-
ImpactDenial of service for users
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
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 application run and expose the JLine3 remote-telnet server module (org.jline:jline-remote-telnet) and that the attacker can reach its Telnet listener; the NAWS option is negotiated before any login, so no authentication is needed (PR:N). The concrete trigger is a Telnet NAWS (Negotiate About Window Size) subnegotiation carrying oversized 16-bit width/height values (e.g., 65535) that are repeatedly alternated to keep raising the WINCH resize signal. Limiting factors: this only affects deployments that actually enable the remote-telnet server (not applications using JLine solely as a local console reader), so default library usage without the Telnet server is not exposed; impact is confined to availability (CPU exhaustion), with no code execution, data disclosure, or integrity impact. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is internally consistent with the description: network-reachable, low complexity, no privileges, no user interaction, and a pure availability impact with no confidentiality or integrity loss, which matches a CPU-exhaustion DoS. Real-world risk is constrained by exposure rather than exploit difficulty: exploitation is trivial and unauthenticated and working PoC code is published, but only deployments that actually enable and expose the JLine3 remote-telnet server are affected - a comparatively narrow footprint versus JLine's broad use as an interactive console library. No EPSS score, KEV listing, or SSVC decision data was provided in the input, so exploitation-probability and automatability signals cannot be quantified here; absence of a KEV entry means there is no confirmation of active exploitation. Net: for the specific population running an exposed JLine Telnet service this is a genuine, easy-to-trigger DoS priority, but it is not remote code execution and its blast radius is limited to availability of that Telnet service. |
| Exploit ScenarioDerived | An attacker locates an internet- or LAN-reachable JLine3 Telnet service and, before any login, sends a NAWS subnegotiation declaring a 65535x65535 window, then loops sending alternating values (e.g., 65535 then 65534) so each change raises WINCH and forces a full redisplay. A published PoC (two raw Telnet packets sent in a loop, no authentication) drives the server into continuous ~65k-iteration rendering cycles, saturating CPU and denying service to legitimate users. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Denial of service in the JLine3 Telnet server (jline-remote-telnet module) lets an unauthenticated remote attacker exhaust server CPU by abusing the Telnet NAWS window-size option. Because TelnetIO enforces only a lower bound on terminal dimensions, a client can advertise a 65535x65535 terminal and repeatedly alternate values to force continuous, expensive redisplay/rendering cycles. Publicly available exploit code exists (a raw two-packet Telnet PoC is published in the vendor GHSA advisory), and there is no public exploit identified as being actively exploited; the issue is fixed in 3.30.14, 4.0.16, and 4.2.1.
RemediationAI
Upgrade JLine to a fixed release on your branch: Vendor-released patch: 3.30.14, 4.0.16, or 4.2.1 (see release notes at https://github.com/jline/jline3/releases/tag/4.0.16 and https://github.com/jline/jline3/releases/tag/4.2.1). The fix (https://github.com/jline/jline3/pull/2000) adds an upper bound of 500 for width and height (LARGEST_BELIEVABLE_WIDTH/HEIGHT) so oversized NAWS geometries are rejected, and also caps environment variable counts (NE_VAR_COUNT_MAX). If you cannot upgrade immediately, the most effective compensating control is to stop exposing the JLine3 Telnet server to untrusted networks - disable the remote-telnet module if unused, or restrict its listening port to trusted management networks via firewall/ACL, accepting that this removes remote console access for legitimate users. Where a resize hook is available you can also clamp incoming terminal dimensions to sane values before they reach setSize(); reference the advisory at https://github.com/jline/jline3/security/advisories/GHSA-2r2c-cx56-8933 for exact code locations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JLine is a widely used Java library for console/line input handling; the vulnerable code lives specifically in its optional remote-telnet module (org.jline:jline-remote-telnet), which implements a Telnet server built on JLine's LineReader. The root cause is CWE-400 (Uncontrolled Resource Consumption): TelnetIO.handleNAWS() (TelnetIO.java:856-879) parses client-supplied width and height from the Telnet NAWS (Negotiate About Window Size, RFC 1073) subnegotiation as 16-bit unsigned integers and forwards them through setTerminalGeometry(), which clamps only the minimum (SMALLEST_BELIEVABLE_WIDTH/HEIGHT, ~20x6) and accepts values up to 65535. The geometry change raises a WINCH signal (Telnet.java:140-175) that drives LineReaderImpl.redisplay() (LineReaderImpl.java:929-962), where freshLine() loops size.getColumns()-1 (~65534) iterations building space-padded output and columnSplitLength() reprocesses the full line width, so each spoofed resize triggers work proportional to the enormous declared dimensions. The CPE cpe:2.3:a:jline:jline3:*:*:*:*:*:*:*:* identifies the affected component as jline3.
Know when Jline 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:H
Unauthenticated, network-reachable NAWS input with no user interaction and trivial repetition (AV:N/AC:L/PR:N/UI:N); impact is pure CPU-exhaustion DoS, so A:H with C:N/I:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
JLine is a Java library for handling console input. Prior to 3.30.14, 4.0.16, and 4.2.1, the JLine3 Telnet server remote-telnet module does not apply an upper bound to terminal dimensions received via the Telnet NAWS option, and TelnetIO.handleNAWS() in TelnetIO.java:856-879 reads client-supplied width and height as 16-bit unsigned integers and passes values such as 65535x65535 to setTerminalGeometry(), allowing an unauthenticated remote attacker to repeatedly alternate values and trigger continuous expensive rendering work that causes CPU exhaustion and denial of service. This issue is fixed in versions 3.30.14, 4.0.16, and 4.2.1.
Blast Radius
ecosystem impact- 1 maven packages depend on org.jline:jline-remote-telnet (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.1.0.
Executive ViewAI
JLine3 Telnet server (jline-remote-telnet module) contains a denial-of-service vulnerability where publicly available exploit code exists. Unauthenticated remote attackers can exhaust server CPU, causing service degradation for any system exposing this module to the network.
Apply vendor patch.
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.
Unauthenticated remote denial of service in the JLine3 remote-telnet server module (versions before 3.30.14, 4.0.16, and
An issue in the component GroovyEngine.execute of jline-groovy v3.24.1 allows attackers to cause an OOM (OutofMemory) er
Denial of service in JLine's built-in less viewer affects all 3.x releases from 3.0.0 before 3.30.15 and 4.x releases be
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
EUVD-2026-45342
GHSA-2r2c-cx56-8933
NVD
CVE.org
EPSS
VulDB
Exploit-DB