CVE-2026-56740

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

Configuration 1 (hide)

OR cpe:2.3:a:jline:jline:*:*:*:*:*:*:*:*
cpe:2.3:a:jline:jline:*:*:*:*:*:*:*:*
cpe:2.3:a:jline:jline:*:*:*:*:*:*:*:*

History

24 Oct 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) JLine es una biblioteca Java para manejar la entrada de consola. Antes de las versiones 3.30.14, 4.0.16 y 4.2.1, el módulo remote-telnet del servidor Telnet de JLine3 no limita el número de variables de entorno que un cliente puede inyectar a través de la opción Telnet NEW-ENVIRON, y TelnetIO.readNEVariables() en TelnetIO.java:1127-1180 almacena cada par de variables en un HashMap mantenido por ConnectionData, permitiendo a un atacante no autenticado inundar pares de variables únicos antes del byte IAC SE de terminación y agotar la memoria del montón de la JVM con un OutOfMemoryError. Este problema se ha solucionado en las versiones 3.30.14, 4.0.16 y 4.2.1.

Information

Published : 2026-07-17 22:17

Updated : 2026-10-24 20:10


NVD link : CVE-2026-56740

Mitre link : CVE-2026-56740

CVE.ORG link : CVE-2026-56740


JSON object : View

Products Affected

jline

  • jline
CWE
CWE-400

Uncontrolled Resource Consumption