Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-56740— JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables

Quick assessment

Affected
jline jline3
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

JLine是JLine组织开源的一个用于处理控制台输入的 Java 库。 JLine 3.30.14之前版本、4.0.0版本至4.0.16之前版本和4.1.0版本至4.2.1之前版本存在资源管理错误漏洞,该漏洞源于JLine3 Telnet服务器远程telnet模块未限制客户端通过Telnet NEW-ENVIRON选项注入的环境变量数量,TelnetIO.readNEVariables()函数将每个变量对存储在ConnectionData持有的HashMap中,可能导致未经身份验证的攻击者在终止IAC

CVSS 7.5 · High EPSS 0.88% · P58

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 3

VendorProduct Version RangeStatus
jline jline3 < 3.30.14 affected
>= 4.0.0, < 4.0.16 affected
>= 4.1.0, < 4.2.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-56740

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables
Source: CVE Program / CVE List V5
Vulnerability 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 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
JLine 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
JLine是JLine组织开源的一个用于处理控制台输入的 Java 库。 JLine 3.30.14之前版本、4.0.0版本至4.0.16之前版本和4.1.0版本至4.2.1之前版本存在资源管理错误漏洞,该漏洞源于JLine3 Telnet服务器远程telnet模块未限制客户端通过Telnet NEW-ENVIRON选项注入的环境变量数量,TelnetIO.readNEVariables()函数将每个变量对存储在ConnectionData持有的HashMap中,可能导致未经身份验证的攻击者在终止IAC
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
jline jline3 < 3.30.14 -

II. Public POCs for CVE-2026-56740

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 8062 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-56740

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-56740 (5)

Vendor Advisories for CVE-2026-56740 (1)

Vendor Pages for CVE-2026-56740 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2026-56740

No comments yet


Leave a comment