# CVE-2026-56741: JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T13:07:16.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-2r2c-cx56-8933
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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 apply an upper bound to terminal dimensions received via the Telnet NAWS option, and TelnetIO.handleNAWS() in TelnetIO.java:856-879 reads client-supplied width and height as 16-bit unsigned integers and passes values such as 65535x65535 to setTerminalGeometry(), allowing an unauthenticated remote attacker to repeatedly alternate values and trigger continuous expensive rendering work that causes CPU exhaustion and denial of service. This issue is fixed in versions 3.30.14, 4.0.16, and 4.2.1.

(As written by CVE List.)

## Affected

- jline jline3: < 3.30.14; >= 4.0.0, < 4.0.16; >= 4.1.0, < 4.2.1
- org.jline:jline-remote-telnet (Maven): from 4.1.0 before 4.2.1; from 4.0.0 before 4.0.16; before 3.30.14
- jline jline: before 3.30.14; from 4.0.0 before 4.0.16; from 4.1.0 before 4.2.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/jline/jline3/security/advisories/GHSA-2r2c-cx56-8933> (exploit, vendor-advisory, web)
- <https://github.com/jline/jline3/pull/2000> (issue-tracking, web)
- <https://github.com/jline/jline3/commit/3ea9cad8699714dc072fade29d36be0d1e23d708> (patch, web)
- <https://github.com/jline/jline3/commit/733eb353dca7b0ea0252e724445b6defa29c393e> (patch, web)
- <https://github.com/jline/jline3/commit/86b7ba7801988aadb1a67555629522a71d603bd3> (patch, web)
- <https://github.com/jline/jline3/releases/tag/4.0.16> (release-notes, web)
- <https://github.com/jline/jline3/releases/tag/4.2.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-56741> (advisory)
- <https://github.com/jline/jline3> (package)

## Sources

- CVE List: [CVE-2026-56741](https://www.cve.org/CVERecord?id=CVE-2026-56741), CVE Terms of Use, modified 2026-07-20
- GitHub Advisory Database: [GHSA-2r2c-cx56-8933](https://github.com/advisories/GHSA-2r2c-cx56-8933), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-56741](https://nvd.nist.gov/vuln/detail/CVE-2026-56741), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-56741 · Whole record: https://cve.day/CVE-2026-56741.json · Rebuilt by cve.day 2026-11-25T22:59:28.595Z
