CVE-2026-56740

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · source cna
Exploit chance (EPSS)
0.592%
chance of exploitation in the next 30 days
higher than 48.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impactpartial
Scored2026-07-20

Timeline

  1. 2026-06-18GitHub advisory published (GHSA-47qp-hqvx-6r3f)29 days before publication
  2. 2026-07-17Published by the CNA21:17 UTC
  3. 2026-07-20CISA SSVC decision recorded3 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-47qp-hqvx-6r3f, affected packages:

PackageVulnerable versionsFixed in
Maven org.jline:jline-remote-telnetbefore 3.30.143.30.14
Maven org.jline:jline-remote-telnetfrom 4.0.0 before 4.0.164.0.16
Maven org.jline:jline-remote-telnetfrom 4.1.0 before 4.2.14.2.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
jline jlinebefore 3.30.14fixed in 3.30.14from 4.0.0 before 4.0.16fixed in 4.0.16from 4.1.0 before 4.2.1fixed in 4.2.13.30.144.0.164.2.1

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources