
PEACH
Un cadre d’isolation des locataires
CVE-2026-56740 is an unauthenticated remote memory exhaustion vulnerability in the JLine3 Telnet server (remote-telnet module) that allows an attacker to crash the host JVM via heap exhaustion. The flaw affects org.jline:jline-remote-telnet versions prior to 4.2.1, with version 4.2.1 being the patched release. It was discovered by Michał Majchrowicz and Marcin Wyczechowski of the AFINE Team and published on June 17, 2026. The vulnerability carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory).
The root cause is CWE-400 (Uncontrolled Resource Consumption): TelnetIO.readNEVariables() (lines 1127–1180 of TelnetIO.java) processes incoming Telnet NEW-ENVIRON variable pairs in an unbounded loop, storing each pair in a HashMap held by ConnectionData. While per-variable limits exist (name: max 50 chars, value: max 1000 chars), there is no cap on the total number of variables per connection. The backing HashMap is initialized with a capacity of 20 and no maximum size (ConnectionData.java:98). Each map entry consumes approximately 2 KB of heap; on a 512 MB JVM, roughly 250,000 unique entries trigger an OutOfMemoryError. Critically, NEW-ENVIRON negotiation occurs before authentication, so no credentials are required to exploit this flaw (GitHub Advisory, GHSA).
Successful exploitation causes a Denial of Service via JVM heap exhaustion (OutOfMemoryError), crashing the host process or severely degrading all services sharing that JVM instance. A single unauthenticated connection sending approximately 3–4 MB of crafted Telnet traffic is sufficient to exhaust a 512 MB JVM heap, affecting all users of any application embedding the jline-remote-telnet module. There is no confidentiality or integrity impact; the vulnerability is purely an availability risk (GitHub Advisory).
org.jline:jline-remote-telnet < 4.2.1.IAC DO NEW-ENVIRON, IAC WILL NEW-ENVIRON).IAC SB NEW-ENVIRON SEND IAC SE subnegotiation request.IAC SB NEW-ENVIRON IS message containing a large number of unique variable pairs (e.g., sequential 1-byte names \x01, \x02, ... with 1-byte values), withholding the terminating IAC SE until all pairs are sent. Each pair requires ~13 protocol bytes; 250,000 pairs (~3.25 MB) are sufficient to exhaust a 512 MB JVM heap.IAC SE byte. The server's connection thread, which has been blocking on socket reads while accumulating entries into the unbounded HashMap, triggers an OutOfMemoryError, crashing the JVM or causing severe degradation for all co-hosted services (GitHub Advisory).IAC SB NEW-ENVIRON IS messages) from a single source IP; high-volume Telnet connections that remain open for extended periods without completing login.java.lang.OutOfMemoryError entries in application logs, particularly referencing heap space exhaustion; sudden process termination of the Java application hosting the Telnet server.Upgrade org.jline:jline-remote-telnet to version 4.2.1 or later, which is the patched release addressing this vulnerability. If an immediate upgrade is not feasible, consider restricting network access to the Telnet server port using firewall rules to trusted IP ranges, or disabling the remote-telnet module entirely if it is not required. No official configuration-based workaround short of network-level access control has been documented (GitHub Advisory, GHSA).
The vulnerability was credited to Michał Majchrowicz and Marcin Wyczechowski of the AFINE Team, and the advisory was published by JLine3 maintainer gnodet on June 17, 2026. No significant broader media coverage, vendor statements beyond the advisory, or notable social media commentary has been identified at this time (GitHub Advisory).
Source: Ce rapport a été généré à l’aide de l’IA
Évaluation gratuite des vulnérabilités
Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.
Obtenez une démo personnalisée
"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."