Live threats

All CVEs / Jline

CVE-2026-56741Jline

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 17, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jline.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jline:jline-remote-telnet ≥ 4.1.0 < 4.2.1 4.2.1 —
Maven org.jline:jline-remote-telnet ≥ 4.0.0 < 4.0.16 4.0.16 —
Maven org.jline:jline-remote-telnet < 3.30.14 3.30.14 —

Per OSV / GitHub Advisories (GHSA-2r2c-cx56-8933). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jlinejline< 3.30.14
jlinejline≥ 4.0.0 < 4.0.16
jlinejline≥ 4.1.0 < 4.2.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.