Live threats

All CVEs / Jline

CVE-2026-56740Jline

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jul 17, 2026
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jline.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jline:jline-remote-telnet ≥ 4.1.0 < 4.2.1 4.2.1 —
Maven org.jline:jline-remote-telnet ≥ 4.0.0 < 4.0.16 4.0.16 —
Maven org.jline:jline-remote-telnet < 3.30.14 3.30.14 —

Per OSV / GitHub Advisories (GHSA-47qp-hqvx-6r3f). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jlinejline< 3.30.14
jlinejline≥ 4.0.0 < 4.0.16
jlinejline≥ 4.1.0 < 4.2.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.