Security mailing lists by PureSourceCode

CVE-2026-56740

HIGH 7.5CVSS 3.1

JLine3 Telnet server: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables

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.

Published
17 Jul 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-400
Also known as
GHSA-47qp-hqvx-6r3f
Sources
NVDJSONOSV GHSA-47qp-hqvx-6r3fJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jline jline
cpe:2.3:a:jline:jline:*:*:*:*:*:*:*:*
< 3.30.14 3.30.14
NVD jline jline
cpe:2.3:a:jline:jline:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.16 4.0.16
NVD jline jline
cpe:2.3:a:jline:jline:*:*:*:*:*:*:*:*
>= 4.1.0, < 4.2.1 4.2.1
OSV Maven org.jline:jline-remote-telnet >= 4.1.0, < 4.2.1 4.2.1
OSV Maven org.jline:jline-remote-telnet >= 4.0.0, < 4.0.16 4.0.16
OSV Maven org.jline:jline-remote-telnet < 3.30.14 3.30.14

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 18 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.