CVEfocus › CVE database › CVE-2026-56740

CVE-2026-56740JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables

CVSS 7.5 HighEPSS 0.9% (higher than 57% of CVEs)Published 2026-07-17Updated 2026-07-20Assigner: GitHub_M

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.

CWE-400

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
19Fix pending
9Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10jlineFix pendingUBUNTU-CVE-2026-56740
Ubuntu 26.10jline2Fix pendingUBUNTU-CVE-2026-56740
Ubuntu 26.10jline3Fix pendingUBUNTU-CVE-2026-56740
Ubuntu 26.04jlineUnder investigationUBUNTU-CVE-2026-56740
Ubuntu 26.04jline2Under investigationUBUNTU-CVE-2026-56740
Ubuntu 26.04jline3Under investigationUBUNTU-CVE-2026-56740
Ubuntu 24.04jlineUnder investigationUBUNTU-CVE-2026-56740
Ubuntu 24.04jline2Under investigationUBUNTU-CVE-2026-56740
Ubuntu 24.04jline3Under investigationUBUNTU-CVE-2026-56740
Ubuntu 22.04jlineUnder investigationUBUNTU-CVE-2026-56740
Ubuntu 22.04jline2Under investigationUBUNTU-CVE-2026-56740
Ubuntu 22.04jline3Under investigationUBUNTU-CVE-2026-56740
Ubuntu 20.04jlineFix pendingUBUNTU-CVE-2026-56740
Ubuntu 20.04jline2Fix pendingUBUNTU-CVE-2026-56740
Ubuntu 18.04jlineFix pendingUBUNTU-CVE-2026-56740
Ubuntu 18.04jline2Fix pendingUBUNTU-CVE-2026-56740
Ubuntu 16.04jlineFix pendingUBUNTU-CVE-2026-56740
Ubuntu 16.04jline2Fix pendingUBUNTU-CVE-2026-56740
Ubuntu 14.04jlineFix pendingUBUNTU-CVE-2026-56740
Ubuntu 14.04jline2Fix pendingUBUNTU-CVE-2026-56740
Debian 14jlineFix pendingDEBIAN-CVE-2026-56740
Debian 14jline2Fix pendingDEBIAN-CVE-2026-56740
Debian 14jline3Fixed3.29.0+ds-2DEBIAN-CVE-2026-56740
Debian 13jlineFix pendingDEBIAN-CVE-2026-56740
Debian 13jline2Fix pendingDEBIAN-CVE-2026-56740
Debian 13jline3Fix pendingDEBIAN-CVE-2026-56740
Debian 12jlineFix pendingDEBIAN-CVE-2026-56740
Debian 12jline2Fix pendingDEBIAN-CVE-2026-56740
Debian 12jline3Fix pendingDEBIAN-CVE-2026-56740
Maven libraryorg.jline:jline-remote-telnetFixed4.2.1GHSA-47qp-hqvx-6r3f

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.