CVE-2026-56740 Details
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 limit the number of environment variables a client may inject via the Telnet NEW-ENVIRON option, and TelnetIO.readNEVariables() in TelnetIO.java:1127-1180 stores each variable pair in a HashMap held by ConnectionData, allowing an unauthenticated attacker to flood unique variable pairs before the terminating IAC SE byte and exhaust JVM heap memory with an OutOfMemoryError. This issue is fixed in versions 3.30.14, 4.0.16, and 4.2.1.
A denial-of-service vulnerability has been identified in the JLine library's remote-telnet module, affecting versions prior to 3.30.14, 4.0.16, and 4.2.1. The issue arises because the Telnet server does not limit the number of environment variables a client can inject using the NEW-ENVIRON option. This lack of restriction allows an unauthenticated attacker to flood the server with unique variable pairs, exhausting the JVM heap memory and causing an OutOfMemoryError. The vulnerability can be reproduced by sending a large number of variable pairs through the Telnet NEW-ENVIRON option, which the server processes without any per-connection limit,
Users can upgrade to JLine versions 3.30.14, 4.0.16, or 4.2.1 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jline jline | < 3.30.14 >= 4.0.0, < 4.0.16 >= 4.1.0, < 4.2.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Aug 18, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | [email protected] |