[From nobody Tue Nov  3 00:21:10 2026
Received: (at submit) by bugs.debian.org; 2 Aug 2026 07:04:41 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00, FOURLA,
 FROMDEVELOPER, 
 FVGT_m_MULTI_ODD,NO_RELAYS,XMAILER_REPORTBUG autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 50; hammy, 150; neutral, 87; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--H*F:U*carnil, 0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wqQFU-007r4i-1W
 for submit@bugs.debian.org; Sun, 02 Aug 2026 07:04:41 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: jline3: CVE-2026-56740 CVE-2026-56741
Message-ID: &lt;178565427756.2777076.2886309827973612770.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Sun, 02 Aug 2026 09:04:37 +0200
Delivered-To: submit@bugs.debian.org

Source: jline3
Version: 3.3.1-5
Severity: important
Tags: security upstream
Forwarded: https://github.com/jline/jline3/pull/2000
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;
Control: found -1 3.3.1-4

Hi,

The following vulnerabilities were published for jline3.

CVE-2026-56740[0]:
| 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.


CVE-2026-56741[1]:
| 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.


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-56740
    https://www.cve.org/CVERecord?id=CVE-2026-56740
    https://github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3f
[1] https://security-tracker.debian.org/tracker/CVE-2026-56741
    https://www.cve.org/CVERecord?id=CVE-2026-56741
    https://github.com/jline/jline3/security/advisories/GHSA-2r2c-cx56-8933
[2] https://github.com/jline/jline3/pull/2000

Regards,
Salvatore
]