CVE-2026-56740
Last modified
CVE-2026-56740 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.51% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| jline | jline3 | < 3.30.14; >= 4.0.0, < 4.0.16; >= 4.1.0, < 4.2.1 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-56740?
How severe is CVE-2026-56740?
How do I fix CVE-2026-56740?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-5672A vulnerability has been found in code-projects Simple IT Di…7.3
- CVE-2026-56720CamaleonCMS version 2.9.2 and earlier contains a missing aut…5.3
- CVE-2026-56721CamaleonCMS version 2.9.2 and earlier contains a privilege e…8.8
- CVE-2026-56722Dompdf is an HTML to PDF converter for PHP. In versions 3.15…5.3
- CVE-2026-5673A flaw was found in libtheora. This heap-based out-of-bounds…7.1
- CVE-2026-5674A flaw was found in PipeWire, a multimedia server. This vuln…8.8
- CVE-2026-56741JLine is a Java library for handling console input. Prior to…7.5
- CVE-2026-56742Cilium is a networking, observability, and security solution…8.9
- CVE-2026-56743Cilium is a networking, observability, and security solution…5.4
- CVE-2026-56745Netty is a network application framework for development of …7.5
- CVE-2026-56746Netty is a network application framework for development of …6.5
- CVE-2026-56747Improper control of generation of code in the JSON Pointer-t…8.8
Are you affected by CVE-2026-56740?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
