CVE-2026-56741

JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry

HIGH
7.5
CVSS Score
Published: July 17, 2026 at 09:15 PM UTC
Updated: October 24, 2026 at 08:10 PM UTC
1 product affected across 1 vendorJline

Using jline3 by jline?

Get instant alerts when new vulnerabilities affect jline3 - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.6%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.30.144.0.0 ≤ v < 4.0.164.1.0 ≤ v < 4.2.1
Affected range stops below 3.30.14, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.0.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.2.1, so it looks safe — our inference, not a vendor statement

References (7)

x_refsource_CONFIRMVendor AdvisoryExploit
Source: cverecord
https://github.com/jline/jline3/security/advisories/GHSA-2r2c-cx56-8933
x_refsource_MISCIssue Tracking
Source: cverecord
https://github.com/jline/jline3/pull/2000
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/jline/jline3/releases/tag/4.0.16
x_refsource_MISCRelease Notes
Source: cverecord
https://github.com/jline/jline3/releases/tag/4.2.1

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-400

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card