CVE-2026-56741

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
0.595%
chance of exploitation in the next 30 days
higher than 49.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-07-20

Timeline

  1. 2026-06-18GitHub advisory published (GHSA-2r2c-cx56-8933)29 days before publication
  2. 2026-07-17Published by the CNA21:15 UTC
  3. 2026-07-20CISA SSVC decision recorded3 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-2r2c-cx56-8933, affected packages:

PackageVulnerable versionsFixed in
Maven org.jline:jline-remote-telnetbefore 3.30.143.30.14
Maven org.jline:jline-remote-telnetfrom 4.0.0 before 4.0.164.0.16
Maven org.jline:jline-remote-telnetfrom 4.1.0 before 4.2.14.2.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
jline jlinebefore 3.30.14fixed in 3.30.14from 4.0.0 before 4.0.16fixed in 4.0.16from 4.1.0 before 4.2.1fixed in 4.2.13.30.144.0.164.2.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources