PT-2026-60884 · Jline · Jline

CVE-2026-56740

·

Published

2026-06-18

·

Updated

2026-07-23

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions JLine versions prior to 3.30.14 JLine versions prior to 4.0.16 JLine versions prior to 4.2.1
Description The JLine3 Telnet server remote-telnet module contains a flaw where it does not limit the number of environment variables a client can inject using the Telnet NEW-ENVIRON option. An unauthenticated attacker can flood the server with a large volume of unique variable pairs before sending the terminating IAC SE byte. These pairs are processed by the readNEVariables() function and stored in a HashMap within ConnectionData that has no maximum size. This can lead to the exhaustion of JVM heap memory, resulting in an OutOfMemoryError and a subsequent denial of service. It is estimated that approximately 3 to 4 MB of network traffic is sufficient to consume a 512 MB JVM heap.
Recommendations Update JLine to version 3.30.14 or later. Update JLine to version 4.0.16 or later. Update JLine to version 4.2.1 or later.

Exploit

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-92450
CVE-2026-56740
GHSA-47QP-HQVX-6R3F
OPENSUSE-SU-2026:11338-1
OPENSUSE-SU-2026:21423-1
SUSE-SU-2026:22856-1

Affected Products

Jline