Vulnerability
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.
183 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
AZL-92450
CVE-2026-56740 affecting package jline 2.14.6-1
- CGA-235r-v4x6-49q3
- CGA-239g-6fvc-xmwm
- CGA-278x-7cg2-j25c
- CGA-27c6-rvvf-hv29
- CGA-2f5r-wc53-99hj
- CGA-2hg5-fxpm-mfcq
- CGA-2jjx-726r-h5xp
- CGA-2m2p-8496-cmjj
- CGA-3c7m-h9c8-85wq
- CGA-3hgf-wmff-wc7f
- CGA-3j8w-g94c-28m8
- CGA-3q75-qm5v-w6v6
- CGA-3q7g-c774-276x
- CGA-3w8v-2p75-ggj4
- CGA-3x7j-72cc-r3fj
- CGA-43x6-xxc4-r49g
- CGA-446c-q4p2-gmjh
- CGA-489g-cw25-62vj
- CGA-4gvg-8xv9-fcqg
- CGA-4h8j-qhcm-mmgj
- CGA-4pv6-8wqm-2m58
- CGA-4rv3-g858-x5q2
- CGA-4wxg-9p8f-28hv
- CGA-4x66-qrg7-ch88
- CGA-5624-ppg9-w6v5
- CGA-56qq-4cc4-547g
- CGA-5764-7pv2-3xmj
- CGA-57x9-qf8p-mr6r
- CGA-5fm9-9xwp-cpc6
- CGA-5gq4-pv62-v599
- CGA-5hhg-mq47-69wx
- CGA-5wvq-57mr-28p4
- CGA-639q-597j-pq24
- CGA-64x3-6q82-f4m7
- CGA-65r5-89vg-mx88
- CGA-66jj-fpgq-cj8r
- CGA-674j-29pr-w9f9
- CGA-6839-57j6-vvhg
- CGA-69wx-5qrj-8g37
- CGA-6cvv-x3hr-vcv8
- CGA-6fh2-fcpc-w872
- CGA-6frq-jqp2-vhm2
- CGA-6gc6-2mvw-j926
- CGA-6mqr-q65x-jh5c
- CGA-6pjh-q4x8-mqcr
- CGA-6q6x-4xh9-c726
- CGA-6rrg-gwj8-3crp
- CGA-6vvr-9qr5-6rvr
- CGA-6xfh-q6qq-jq5x
- CGA-6xgh-g8fq-w49w
- CGA-75c2-hh4w-qww8
- CGA-7695-8fgv-3xgh
- CGA-76gw-g6v6-vh9c
- CGA-76h9-7w47-q544
- CGA-78r5-p4g7-97f6
- CGA-7g46-q33c-xr3r
- CGA-7gqg-mw7m-3j88
- CGA-7grp-4rx9-4ggr
- CGA-7p65-cfgp-7r6h
- CGA-7p77-xr99-5842
- CGA-7qj5-hrp9-xr95
- CGA-7r3c-p2qh-8mf6
- CGA-7r89-5c3x-498g
- CGA-7rjf-vq2w-qmg8
- CGA-7vjx-6m5w-w63p
- CGA-83r9-w87r-xv72
- CGA-8439-j8hg-73xx
- CGA-85hc-48qv-hf9g
- CGA-879g-8xpm-xf45
- CGA-8gqm-rv93-5r52
- CGA-8m54-9h49-5cfj
- CGA-8pqp-mrp3-cq68
- CGA-8v84-qwpp-v6v3
- CGA-93mp-5g6j-288h
- CGA-945g-h622-x74r
- CGA-94r8-mp74-g7r6
- CGA-999w-h5j5-7hfq
- CGA-99g2-64wm-qjf3
- CGA-9cmg-h2q8-v5j2
- CGA-9fm6-qr9r-pc59
- CGA-9m3f-pc8x-hf77
- CGA-9r23-hqrg-x2f9
- CGA-c8ww-mj62-h6q2
- CGA-cf76-m43g-4r5w
- CGA-ch24-r8w5-99jx
- CGA-ch7c-hrmv-53xr
- CGA-cjw6-49hr-f4qg
- CGA-cmpj-g8w4-2xxh
- CGA-cq98-w5m6-pg66
- CGA-cxmp-wr5x-vhgj
- CGA-f556-3fx7-7r8c
- CGA-f834-phrp-r22f
- CGA-f99q-vrf3-f55h
- CGA-fjfh-93mj-773q
- CGA-fpj5-24fw-g72x
- CGA-fwq3-5m2g-3jjg
- CGA-fxvm-fgr5-h3ch
- CGA-g96r-p439-552v
- CGA-g9vc-693p-3j57
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-56740.
References
- https://github.com/jline/jline3/commit/0389f0ee6d0375901b602671ad5dafd4d1d4ee09
- https://github.com/jline/jline3/commit/4ee3a73849ffb9a85ec748e4e8cd8f6d81f84f40
- https://github.com/jline/jline3/commit/934f09e6128cee33c2b13d42b6e859c1ee2d194b
- https://github.com/jline/jline3/pull/2000
- https://github.com/jline/jline3/pull/2001
- https://github.com/jline/jline3/releases/tag/4.0.16
- https://github.com/jline/jline3/releases/tag/4.2.1
- https://github.com/jline/jline3/releases/tag/jline-3.30.14
- https://github.com/jline/jline3/security/advisories/GHSA-47qp-hqvx-6r3f