Skip to content
OpenAdvisories

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 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.

Affected products

VendorProductAffectedFixed
jline jline3 < 3.30.14, >= 4.0.0, < 4.0.16, >= 4.1.0, < 4.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jline +1 No fix yet —
Debian 14 jline3 3.29.0+ds-2 —
Debian 13 jline +2 No fix yet —
Debian 12 jline +2 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 jline +2 No fix yet —
Ubuntu 26.04 LTS jline +2 No fix yet —
Ubuntu 24.04 LTS jline +2 No fix yet —
Ubuntu 22.04 LTS jline +2 No fix yet —
Ubuntu 20.04 LTS jline +1 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS jline +1 No fix yet —
Ubuntu 16.04 LTS jline +1 No fix yet —
Ubuntu 14.04 LTS jline +1 No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 jline3 3.30.15-160000.1.1 SUSE-SU-2026:22856-1
SLES 16.0 jline3 3.30.15-160000.1.1 SUSE-SU-2026:22856-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed jline3 3.30.15-3.1 openSUSE-SU-2026:11338-1
openSUSE Leap 16.0 jline3 3.30.15-160000.1.1 openSUSE-SU-2026:21423-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 jline No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling apache-nifi-toolkit 2.10.0-r1 —
Wolfi rolling apache-pulsar-4.2 4.2.2-r4 —
Wolfi rolling celeborn-0.6 No fix yet —
Wolfi rolling confluent-kafka 8.4.0.269-r1 —
Wolfi rolling druid 37.0.0-r14 —
Wolfi rolling kafka-4.1 4.1.2-r3 —
Wolfi rolling kafka-4.2 4.2.1-r3 —
Wolfi rolling spark-4.0-scala-2.13 4.0.4-r6 —
Wolfi rolling spark-4.1-scala-2.13 4.1.3-r5 —
Wolfi rolling tez 0.10.5-r19 —
Wolfi rolling zookeeper-3.9 3.9.5-r8 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jline:jline-remote-telnet >= 4.1.0, < 4.2.1 4.2.1 GHSA-2r2c-cx56-8933
Maven org.jline:jline-remote-telnet >= 4.0.0, < 4.0.16 4.0.16 GHSA-2r2c-cx56-8933
Maven org.jline:jline-remote-telnet < 3.30.14 3.30.14 GHSA-2r2c-cx56-8933

Advisories 5

References