Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReach exposed JLine3 Telnet port
-
DeliveryComplete WILL/DO option negotiation
-
ExploitSend NEW-ENVIRON IS subnegotiation
-
InstallFlood unbounded unique variable pairs before IAC SE
-
C2Fill uncapped ConnectionData HashMap
-
ExecuteTrigger JVM OutOfMemoryError
-
ImpactService denial of service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target application embeds and exposes the JLine3 remote-telnet server module (org.jline:jline-remote-telnet) with a reachable Telnet listener; the attacker must be able to reach that TCP port and reach the pre-login Telnet option-negotiation phase where the NEW-ENVIRON (RFC 1572) option is handled. Given AV:N/AC:L/PR:N/UI:N, no authentication, no user interaction, and no non-default per-connection tuning are needed once the telnet server is running - the attacker simply completes WILL/DO negotiation and sends a NEW-ENVIRON IS subnegotiation with many unique variable pairs before IAC SE. The primary limiting factor is deployment: the remote-telnet module is optional and often not enabled or not internet-facing, so exploitation is bounded by whether an organization actually runs and exposes this server rather than by any authentication or configuration barrier. |
| Impact | The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) is internally consistent with the description: fully network-reachable, low complexity, no privileges, no user interaction, availability-only impact. The advisory quantifies feasibility precisely - ~250,000 pairs / ~3.25 MB of traffic exhausts a 512 MB heap in seconds - which supports the AC:L/A:H rating and indicates the attack is trivially automatable. However, real-world risk is gated by exposure: the affected component is the remote-telnet server module, which is an opt-in feature rarely deployed and typically not internet-facing, so blast radius is far narrower than the network-vector score implies. No EPSS value and no SSVC decision data were provided, so probability-of-exploitation cannot be quantified here; the CVE is not in CISA KEV and no weaponized exploit is identified, meaning this is a real but likely low-frequency, targeted-DoS issue rather than a mass-exploitation priority. The impact is confined to availability (a crash) with no confidentiality or integrity effect and no code execution. |
| Exploit ScenarioDerived | An attacker locates an exposed JLine3 Telnet service and connects without credentials, since NEW-ENVIRON negotiation happens before login. After completing WILL/DO option negotiation, they send a single NEW-ENVIRON IS subnegotiation packing hundreds of thousands of unique 1-byte variable pairs before the terminating IAC SE, and the accumulating HashMap exhausts the JVM heap and throws OutOfMemoryError, taking the service down; the vendor advisory documents this proof-of-concept methodology, though no packaged exploit tool is identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 17, 2026
Unauthenticated remote denial of service in the JLine3 remote-telnet server module (versions before 3.30.14, 4.0.16, and 4.2.1) lets an attacker crash the JVM by flooding the Telnet NEW-ENVIRON negotiation with unbounded unique environment-variable pairs. Because TelnetIO.readNEVariables() stores every pair in an uncapped HashMap on ConnectionData before login, roughly 3-4 MB of traffic can exhaust a 512 MB heap and force an OutOfMemoryError. No public exploit code is identified, but the vendor advisory (GHSA-47qp-hqvx-6r3f) documents proof-of-concept methodology; the flaw is not listed in CISA KEV and no EPSS score was supplied.
RemediationAI
Upgrade the org.jline:jline-remote-telnet (and JLine3) dependency to a patched release - Vendor-released patch: 3.30.14, 4.0.16, or 4.2.1, choosing the one matching your current branch (3.30.x, 4.0.x, or 4.2.x). The fix (pull requests https://github.com/jline/jline3/pull/2000 and https://github.com/jline/jline3/pull/2001; commits 0389f0e, 4ee3a73, 934f09e) introduces a NE_VAR_COUNT_MAX cap of 100 variables in readNEVariables(), logging a warning and calling skipToSE()/returning once the limit is exceeded, and also adds upper bounds on reported terminal width/height. If you cannot upgrade immediately, restrict network reachability of the Telnet listener: bind it to localhost or an internal management VLAN, place it behind a firewall rule or ACL that limits source IPs, and require a network-layer gateway/VPN before the port - accepting that this breaks legitimate remote Telnet clients from disallowed networks. As a defense-in-depth measure, run the JVM with a bounded, sensibly-sized heap and enable process supervision/auto-restart so an OutOfMemoryError crash is recovered quickly, and consider disabling the remote-telnet feature entirely if it is not required, which fully removes the attack surface at the cost of remote console access. Details are in the advisory at https://github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3f.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
JLine3 is a Java library for console/line-editing input; the vulnerable code lives specifically in its optional remote-telnet module (org.jline:jline-remote-telnet), which implements a Telnet server supporting RFC 1572 NEW-ENVIRON option negotiation. During negotiation the server parses NE_VAR/NE_USERVAR pairs in TelnetIO.readNEVariables() (TelnetIO.java:1127-1180) and inserts each into the environment map of ConnectionData, which is a plain HashMap constructed with initial capacity 20 and no maximum size (ConnectionData.java:98). This is a textbook CWE-400 (Uncontrolled Resource Consumption): per-variable length limits exist (name ≤50 chars, value ≤1000 chars) but there is no bound on the number of variables, so the parse loop keeps accumulating entries (~2 KB heap each) until the terminating IAC SE arrives. NEW-ENVIRON exchange occurs before authentication, so the allocation is fully attacker-controlled and pre-login.
Know when Jline gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Pre-auth network-reachable NEW-ENVIRON parsing (AV:N/PR:N/UI:N) with trivially automatable heap flooding (AC:L) yielding a crash only, so C:N/I:N/A:H.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 1 maven packages depend on org.jline:jline-remote-telnet (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 4.1.0.
Executive ViewAI
JLine3 remote-telnet server module versions before 3.30.14, 4.0.16, and 4.2.1 are vulnerable to unauthenticated remote denial-of-service attacks that crash the Java Virtual Machine, impacting application availability for any organization deploying this component. An attacker requires only 3-4 MB of network traffic to trigger an OutOfMemoryError, making this a significant operational risk with no vendor patch currently available.
Since no vendor-released patch is currently available, implement interim mitigations: restrict network access to the telnet port via firewall rules, disable the remote-telnet module or entire JLine3 service if not operationally necessary, deploy connection-rate limiting to absorb exploitation attempts, and monitor heap usage and process restart events for indicators of attack activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Denial of service in the JLine3 Telnet server (jline-remote-telnet module) lets an unauthenticated remote attacker exhau
An issue in the component GroovyEngine.execute of jline-groovy v3.24.1 allows attackers to cause an OOM (OutofMemory) er
Denial of service in JLine's built-in less viewer affects all 3.x releases from 3.0.0 before 3.30.15 and 4.x releases be
Same weakness CWE-400 – Uncontrolled Resource Consumption
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
EUVD-2026-45343
GHSA-47qp-hqvx-6r3f
NVD
CVE.org
EPSS
VulDB
Exploit-DB