CVE-2026-56741JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | jline | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 26.10 | jline2 | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 26.10 | jline3 | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 26.04 | jline | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 26.04 | jline2 | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 26.04 | jline3 | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 24.04 | jline | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 24.04 | jline2 | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 24.04 | jline3 | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 22.04 | jline | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 22.04 | jline2 | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 22.04 | jline3 | Under investigation | UBUNTU-CVE-2026-56741 | |
| Ubuntu 20.04 | jline | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 20.04 | jline2 | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 18.04 | jline | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 18.04 | jline2 | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 16.04 | jline | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 16.04 | jline2 | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 14.04 | jline | Fix pending | UBUNTU-CVE-2026-56741 | |
| Ubuntu 14.04 | jline2 | Fix pending | UBUNTU-CVE-2026-56741 | |
| Debian 14 | jline | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 14 | jline2 | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 14 | jline3 | Fixed | 3.29.0+ds-2 | DEBIAN-CVE-2026-56741 |
| Debian 13 | jline | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 13 | jline2 | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 13 | jline3 | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 12 | jline | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 12 | jline2 | Fix pending | DEBIAN-CVE-2026-56741 | |
| Debian 12 | jline3 | Fix pending | DEBIAN-CVE-2026-56741 | |
| Maven library | org.jline:jline-remote-telnet | Fixed | 4.2.1 | GHSA-2r2c-cx56-8933 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- jline3: affected: < 3.30.14, >= 4.0.0, < 4.0.16, >= 4.1.0, < 4.2.1
References
- https://github.com/jline/jline3/security/advisories/GHSA-2r2c-cx56-8933
- https://github.com/jline/jline3/pull/2000
- https://github.com/jline/jline3/commit/3ea9cad8699714dc072fade29d36be0d1e23d708
- https://github.com/jline/jline3/commit/733eb353dca7b0ea0252e724445b6defa29c393e
- https://github.com/jline/jline3/commit/86b7ba7801988aadb1a67555629522a71d603bd3
- https://github.com/jline/jline3/releases/tag/4.0.16
- https://github.com/jline/jline3/releases/tag/4.2.1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.