{"answers":{"affected":"6 open source packages ship an affected version, including org.jline:jline-remote-telnet. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56741 exists.","fix":"Upgrade org.jline:jline-remote-telnet to a fixed version for your release line: 3.30.14, 4.0.16 or 4.2.1.","what":"CVE-2026-56741 is a high-severity denial of service vulnerability in jline3, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56741 and fix it if it is affected.\n\nWhat it is: CVE-2026-56741 is a high-severity denial of service vulnerability in jline3, published on 17 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56741 exists.\n\nAffected packages and fixed versions:\n- org.jline:jline-remote-telnet (Maven): affected all versions; fixed in 3.30.14\n- org.jline:jline-remote-telnet (Maven): affected all versions; fixed in 3.30.14\n- org.jline:jline-remote-telnet (Maven): affected from 4.0.0; fixed in 4.0.16\n- org.jline:jline-remote-telnet (Maven): affected from 4.0.0; fixed in 4.0.16\n- org.jline:jline-remote-telnet (Maven): affected from 4.1.0; fixed in 4.2.1\n- org.jline:jline-remote-telnet (Maven): affected from 4.1.0; fixed in 4.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-56741/ (Markdown: https://insights.sbomify.com/CVE-2026-56741/index.md)","id":"CVE-2026-56741","markdown":"https://insights.sbomify.com/CVE-2026-56741/index.md","name":"CVE-2026-56741","record":{"aliases":["AZL-92453","CLEANSTART-2026-JV45560","CLEANSTART-2026-OL13486","CLEANSTART-2026-ZL99658","DEBIAN-CVE-2026-56741","ECHO-dabb-5c9f-5c7d","GHSA-2r2c-cx56-8933","MINI-3wjf-97w7-8qrj","MINI-3xm6-383q-h68q","MINI-429g-8vp2-f79x","MINI-53fh-p5c4-8jcx","MINI-5r88-44x7-8hcv","MINI-63hr-xm4r-4wj2","MINI-6987-m49g-239c","MINI-6gr5-rgxw-39jq","MINI-7fv8-xx2j-w8g9","MINI-7vgh-8vwq-m85j","MINI-85hh-5g28-hpx8","MINI-85rh-wp8w-vf4r","MINI-987g-6g2r-r6p2","MINI-9qm4-79xr-rjrq","MINI-9rc3-vh85-8xx2","MINI-c25g-r633-25mq","MINI-c3gj-5f25-gc7f","MINI-f3xp-fw2m-m535","MINI-f5q3-pcmc-vvmf","MINI-fvgr-56wj-g5q7","MINI-hxr8-88ww-xjj2","MINI-jf27-r57w-626g","MINI-m4h8-9rf3-hx4r","MINI-mr8g-869g-gfch","MINI-mxhp-469c-cmqf","MINI-r8pw-p38v-vqx8","MINI-rch7-q2pj-c4cp","MINI-rp57-7g97-2vrf","MINI-w339-4xm5-p8rx","MINI-xhvw-pw9p-553q","ROOT-APP-MAVEN-CVE-2026-56741","ROOT-APP-MAVEN-GHSA-2r2c-cx56-8933","UBUNTU-CVE-2026-56741"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java console input library","requires_auth":"none","summary":"An unauthenticated remote attacker can cause CPU exhaustion and denial of service in JLine Telnet servers by sending unbounded terminal geometry values.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jline","vendor":"jline"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"JLine: Unauthenticated Remote DoS via Unbounded Telnet NAWS Terminal Geometry","id":"CVE-2026-56741","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":6,"n_references":7,"next":{"headline":"Cilium: Namespaced HTTPRoutes can redirect traffic to other namespaces","id":"CVE-2026-56742"},"packages":[{"ecosystem":"Maven","fixed":["3.30.14"],"introduced":["0"],"last_affected":[],"package":"org.jline:jline-remote-telnet","purl":null,"source":"GHSA-2r2c-cx56-8933"},{"ecosystem":"Maven","fixed":["3.30.14"],"introduced":["0"],"last_affected":[],"package":"org.jline:jline-remote-telnet","purl":"pkg:maven/org.jline/jline-remote-telnet","source":"GHSA-2r2c-cx56-8933"},{"ecosystem":"Maven","fixed":["4.0.16"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-remote-telnet","purl":null,"source":"GHSA-2r2c-cx56-8933"},{"ecosystem":"Maven","fixed":["4.0.16"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-remote-telnet","purl":"pkg:maven/org.jline/jline-remote-telnet","source":"GHSA-2r2c-cx56-8933"},{"ecosystem":"Maven","fixed":["4.2.1"],"introduced":["4.1.0"],"last_affected":[],"package":"org.jline:jline-remote-telnet","purl":null,"source":"GHSA-2r2c-cx56-8933"},{"ecosystem":"Maven","fixed":["4.2.1"],"introduced":["4.1.0"],"last_affected":[],"package":"org.jline:jline-remote-telnet","purl":"pkg:maven/org.jline/jline-remote-telnet","source":"GHSA-2r2c-cx56-8933"}],"prev":{"headline":"JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables","id":"CVE-2026-56740"},"products":["jline3"],"published":"2026-07-17","related":[{"cvss_score":7.5,"headline":"JLine: Unauthenticated Remote Memory Exhaustion via Unbounded Telnet NEW-ENVIRON Variables","id":"CVE-2026-56740","kev_date_added":null,"published":"2026-07-17"},{"cvss_score":5.5,"headline":"JLine vulnerable to out of memory error","id":"CVE-2023-50572","kev_date_added":null,"published":"2023-12-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-20","vendors":["jline"]},"summary":"An unauthenticated remote attacker can cause CPU exhaustion and denial of service in JLine Telnet servers by sending unbounded terminal geometry values.","url":"https://insights.sbomify.com/CVE-2026-56741/"}