CVE-2026-56740: JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables
Vulnerability summary
CVE-2026-56740 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in jline. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 48.3% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 4Timeline
- 17-07-2026PublishedVulnerability first disclosed.
- 20-07-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.59%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Decrease -0.29 pp
From 0.88% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundJline3
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard58 products
- apache-camel-karavan-devmode< 4.18.1-r5
- apache-hop< 2.18.1-r1
- apache-hop-fips< 2.18.1-r1
- apache-nifi-toolkit< 2.10.0-r1
- apache-polarisAll versions (No fix recorded)
Wolfi13 products
- apache-nifi-toolkit< 2.10.0-r1
- apache-pulsar-4.1All versions (No fix recorded)
- apache-pulsar-4.2< 4.2.2-r4
- celeborn-0.6All versions (No fix recorded)
- confluent-kafka< 8.4.0.269-r1
Debian3 products
- jlineAll versions (No fix recorded)
- jline2All versions (No fix recorded)
- jline3All versions (No fix recorded)
Ubuntu3 products
- jlineAll versions (No fix recorded)
- jline2All versions (No fix recorded)
- jline3All versions (No fix recorded)
Jline2 products
Org.jline1 product
- jline-remote-telnet≥ 4.1.0, < 4.2.1 | ≥ 4.0.0, < 4.0.16 | < 3.30.14
6 vendors · 80 products
References
15 links- github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3fX Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
Show all 15 references
- github.com/jline/jline3PACKAGE