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.50% 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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Jline | Jline | < 3.30.14 |
| Jline | Jline | >= 4.0.0, < 4.0.16 |
| Jline | Jline | >= 4.1.0, < 4.2.1 |
References
- https://github.com/jline/jline3/pull/2000Issue Tracking
- https://github.com/jline/jline3/pull/2001Issue Tracking
- https://github.com/jline/jline3/releases/tag/4.0.16Release Notes
- https://github.com/jline/jline3/releases/tag/4.2.1Release Notes
- https://github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3fExploit, Vendor Advisory
- https://github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3fExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
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-56735Zammad is a web based open source helpdesk/customer support …5.3
- CVE-2026-56736phpMyFAQ is an open source FAQ web application. A stored cro…8.2
- CVE-2026-56737phpMyFAQ is an open source FAQ web application. Versions 3.2…8.1
- CVE-2026-56738phpMyFAQ is an open source FAQ web application. The `StopWor…8.5
- CVE-2026-56739Logto is the modern, open-source auth infrastructure for Saa…8.5
- 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-56744`@bsv/wallet-toolbox` provides BRC-100 wallet signing and st…8.7
- 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
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
