Denial of Service Vulnerability in JLine Telnet Server
CVE-2026-56740

7.5HIGH

Key Information:

Vendor

Jline

Status
Vendor
CVE Published:
17 July 2026

What is CVE-2026-56740?

The JLine Telnet server's remote-telnet module allows unauthenticated clients to exploit the Telnet NEW-ENVIRON option, enabling them to inject an unlimited number of environment variables. This can cause the Java Virtual Machine (JVM) to exhaust its heap memory, leading to an OutOfMemoryError. This vulnerability was addressed in versions 3.30.14, 4.0.16, and 4.2.1, which introduced limitations on the number of environment variables that can be injected.

Affected Version(s)

jline3 < 3.30.14 < 3.30.14

jline3 >= 4.0.0, < 4.0.16 < 4.0.0, 4.0.16

jline3 >= 4.1.0, < 4.2.1 < 4.1.0, 4.2.1

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.