JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables
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.
- Published
- Jul 17, 2026
- Updated
- Aug 18, 2026
- EPSS
- 0.9% · 58th percentile
- CWE
- CWE-400
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.9%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · GitHub_M
- 7.5
- NVD has not scored this yet; the score shown is the CNA’s.
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
| Vendor | Product | CPE |
|---|---|---|
| jline | jline | cpe:2.3:a:jline:jline |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- jline jlinebefore 3.30.14
- jline jline4.0.0 and later · before 4.0.16
- jline jline4.1.0 and later · before 4.2.1
Versions reported by the vendor
Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.
jline jline3
- < 3.30.14, >= 4.0.0, < 4.0.16, >= 4.1.0, < 4.2.1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | jline | all versions | — |
| Debian:12 | jline2 | all versions | — |
| Debian:12 | jline3 | all versions | — |
| Maven | org.jline:jline-remote-telnet | from 4.0.0 · before 4.0.16 | 4.0.16 |
| Maven | org.jline:jline-remote-telnet | from 4.1.0 · before 4.2.1 | 4.2.1 |
| Maven | org.jline:jline-remote-telnet | before 3.30.14 | 3.30.14 |
| openSUSE:Leap 16.0 | jline3 | before 3.30.15-160000.1.1 | 3.30.15-160000.1.1 |
| openSUSE:Tumbleweed | jline3 | before 3.30.15-3.1 | 3.30.15-3.1 |
| SUSE:Linux Enterprise Server 16.0 | jline3 | before 3.30.15-160000.1.1 | 3.30.15-160000.1.1 |
Same product
jline: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-56741JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry30Monitor
- CVE-2023-50572An issue in the component GroovyEngine.execute of jline-groovy v3.24.1 allows attackers to cause an OOM (OutofMemory) error.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Maven:org.jline:jline-remote-telnet | 3.30.14 | Package registry (OSV) |
| Maven:org.jline:jline-remote-telnet | 4.0.16 | Package registry (OSV) |
| Maven:org.jline:jline-remote-telnet | 4.2.1 | Package registry (OSV) |
| opensuse:jline3 | 3.30.15-3.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:jline3 | 3.30.15-160000.1.1 · SUSE:Linux Enterprise Server 16.0 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2026-567410 days apartJLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry30Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) { return node.children.map(expand);}Fixed
const MAX_DEPTH = 32;function expand(node, depth = 0) { if (depth > MAX_DEPTH) throw new Error("too deep"); return node.children.map((c) => expand(c, depth + 1));}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/jline/jline3/commit/0389f0ee6d0375901b602671ad5dafd4d1d4ee09
- github.com/jline/jline3/commit/4ee3a73849ffb9a85ec748e4e8cd8f6d81f84f40
- github.com/jline/jline3/commit/934f09e6128cee33c2b13d42b6e859c1ee2d194b
- github.com/jline/jline3/pull/2000
- github.com/jline/jline3/pull/2001
- github.com/jline/jline3/releases/tag/4.0.16
- github.com/jline/jline3/releases/tag/4.2.1
- github.com/jline/jline3/releases/tag/jline-3.30.14
Vendor advisories and official records. Exploit/PoC links are deliberately left out.