CVE-2026-56741Jline
High 7.5 No auth needed
Follow: this CVE · Jline · Jline We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Jline.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| jline | jline | < 3.30.14 |
| jline | jline | ≥ 4.0.0 < 4.0.16 |
| jline | jline | ≥ 4.1.0 < 4.2.1 |
Official advisories
- Security update for jline3 · SUSE · openSUSE-SU-2026:21423-1 · Jul 22, 2026 High
- Security update for jline3 · SUSE · SUSE-SU-2026:22856-1 · Jul 22, 2026 High
- jline3-3.30.15-3.1 on GA media · SUSE · openSUSE-SU-2026:11338-1 · Jul 22, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Issue Tracking
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory Exploit