CVE-2026-56741: JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry

Published Jul 17, 2026
·
Updated

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 Software

3 affected components
jline jline<3.30.14
jline jline<4.0.16
jline jline<4.2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade JLine3 telnet server remote-telnet module to a version that resolves this vulnerability.

    Fixed in 3.30.14
  2. Upgrade

    Upgrade JLine3 telnet server remote-telnet module to a version that resolves this vulnerability.

    Fixed in 4.0.16
  3. Upgrade

    Upgrade JLine3 telnet server remote-telnet module to a version that resolves this vulnerability.

    Fixed in 4.2.1

Event History

Jul 17, 2026
CVE Published
via MITRE·09:15 PM
Data Sourced
via MITRE·09:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56741?

CVE-2026-56741 has a high severity rating of 7.5.

2

How do I fix CVE-2026-56741?

To fix CVE-2026-56741, update JLine to version 3.30.14, 4.0.16, or 4.2.1 or later.

3

What type of vulnerability is CVE-2026-56741?

CVE-2026-56741 is an unauthenticated remote denial-of-service (DoS) vulnerability.

4

What are the potential impacts of CVE-2026-56741?

The potential impact of CVE-2026-56741 includes service disruption due to unbounded terminal dimensions.

5

Which versions of JLine are affected by CVE-2026-56741?

Versions of JLine prior to 3.30.14, 4.0.16, and 4.2.1 are affected by CVE-2026-56741.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203