CVE-2026-56741

NameCVE-2026-56741
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 apply an upper bound to terminal dimensions received via the Telnet NAWS option, and TelnetIO.handleNAWS() in TelnetIO.java:856-879 reads client-supplied width and height as 16-bit unsigned integers and passes values such as 65535x65535 to setTerminalGeometry(), allowing an unauthenticated remote attacker to repeatedly alternate values and trigger continuous expensive rendering work that causes CPU exhaustion and denial of service. 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)forky, sid, bookworm, bullseye, 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-2r2c-cx56-8933
https://github.com/jline/jline3/pull/2000
Fixed by: https://github.com/jline/jline3/commit/3ea9cad8699714dc072fade29d36be0d1e23d708 (jline-3.30.14)

Search for package or bug name: Reporting problems