{"id":"CVE-2026-56741","published":"2026-07-17T21:15:14Z","modified":"2026-07-20T15:21:23Z","title":"JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry","vendor":"jline","product":"jline3","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00889,"percentile":0.57162,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/jline/jline3/security/advisories/GHSA-2r2c-cx56-8933","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/jline/jline3/pull/2000","tags":["x_refsource_MISC"]},{"url":"https://github.com/jline/jline3/commit/3ea9cad8699714dc072fade29d36be0d1e23d708","tags":["x_refsource_MISC"]},{"url":"https://github.com/jline/jline3/commit/733eb353dca7b0ea0252e724445b6defa29c393e","tags":["x_refsource_MISC"]},{"url":"https://github.com/jline/jline3/commit/86b7ba7801988aadb1a67555629522a71d603bd3","tags":["x_refsource_MISC"]},{"url":"https://github.com/jline/jline3/releases/tag/4.0.16","tags":["x_refsource_MISC"]},{"url":"https://github.com/jline/jline3/releases/tag/4.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":11.43},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"jline","affectedVersions":[{"vendor":"jline","product":"jline3","versions":["< 3.30.14",">= 4.0.0, < 4.0.16",">= 4.1.0, < 4.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-20T15:21:00.621662Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jline:jline-remote-telnet","vulnerableRanges":[">=4.1.0, <4.2.1",">=4.0.0, <4.0.16","<3.30.14"],"patched":["4.2.1","4.0.16","3.30.14"],"from":["GHSA-2r2c-cx56-8933"],"provenance":"source"}],"summary":{"text":"JLine3's remote-telnet module, in its Telnet server handling of the NAWS terminal-size option (TelnetIO.handleNAWS()), does not bound the width and height a client supplies, so oversized geometry values are passed straight into terminal geometry handling. An unauthenticated remote attacker who can reach the Telnet server can repeatedly alternate extreme dimensions such as 65535x65535 to force continuous expensive rendering work and exhaust CPU, with no user interaction or configuration required beyond the server being exposed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:15Z"},"euvd":{"id":"EUVD-2026-45342","exploited":false,"provenance":"source"}}