CVE-2026-56740

NameCVE-2026-56740
DescriptionJLine 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jline (PTS)bookworm, forky, bullseye, sid, trixie1.0-3undetermined
jline2 (PTS)bullseye2.14.6-4undetermined
bookworm2.14.6-5undetermined
forky, sid, trixie2.14.6-6undetermined
jline3 (PTS)bullseye3.3.1-2vulnerable
bookworm3.3.1-3vulnerable
trixie3.3.1-4vulnerable
forky, sid3.3.1-5vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jlinesource(unstable)undetermined
jline2source(unstable)undetermined
jline3source(unstable)(unfixed)

Notes

https://github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3f
https://github.com/jline/jline3/pull/2000
Fixed by: https://github.com/jline/jline3/commit/4ee3a73849ffb9a85ec748e4e8cd8f6d81f84f40 (jline-3.30.14)

Search for package or bug name: Reporting problems