Skip to main content

JLine3 CVE-2026-56741

| EUVDEUVD-2026-45342 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-17 GitHub_M GHSA-2r2c-cx56-8933
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed JLine3 Telnet port
  2. Delivery
    Send NAWS 65535x65535 subnegotiation
  3. Exploit
    Alternate width/height to force WINCH
  4. Execution
    Trigger 65k-iteration redisplay loop
  5. Persist
    Sustain loop to exhaust CPU
  6. Impact
    Denial 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

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

Alert me

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

jline3 4.1.0, < 4.2.1
jline3 4.0.0, < 4.0.16
jline3 < 3.30.14

Affected Packages

maven org.jline:jline-remote-telnet fix: 3.30.14, 4.0.16, 4.2.1
euvd jline3 fix: 3.30.14, 4.0.16, 4.2.1

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE HIGH
Red Hat 7.5 HIGH

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Jul 17, 2026 - 23:19 EUVD
CVE Published
Jul 17, 2026 - 21:15 cve.org
HIGH 7.5

DescriptionCVE.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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Medium
JLine library is widespread, but the vulnerable remote-telnet server module is rarely deployed
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

59
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: +20
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.

Vendor 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

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