{"answers":{"affected":"4 open source packages ship an affected version, including org.jline:jline-builtins.","exploited":"There is no known exploitation of CVE-2026-77421 in the wild and no public exploit code.","fix":"Upgrade org.jline:jline-builtins to a fixed version for your release line: 3.30.15 or 4.3.1.","what":"CVE-2026-77421 is a medium-severity denial of service vulnerability in jline3, published on 23 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-77421 and fix it if it is affected.\n\nWhat it is: CVE-2026-77421 is a medium-severity denial of service vulnerability in jline3, published on 23 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-77421 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jline:jline-builtins (Maven): affected from 3.0.0; fixed in 3.30.15\n- org.jline:jline-builtins (Maven): affected from 3.0.0; fixed in 3.30.15\n- org.jline:jline-builtins (Maven): affected from 4.0.0; fixed in 4.3.1\n- org.jline:jline-builtins (Maven): affected from 4.0.0; fixed in 4.3.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-77421/ (Markdown: https://insights.sbomify.com/CVE-2026-77421/index.md)","id":"CVE-2026-77421","markdown":"https://insights.sbomify.com/CVE-2026-77421/index.md","name":"CVE-2026-77421","record":{"aliases":["CLEANSTART-2026-AD70544","CLEANSTART-2026-AJ94302","CLEANSTART-2026-EP67643","CLEANSTART-2026-IS00308","CLEANSTART-2026-JE20809","CLEANSTART-2026-YP64784","DEBIAN-CVE-2026-77421","ECHO-ac06-4f09-01e1","GHSA-ph9c-7hw9-vhhw","MINI-33p3-2wqj-f7gj","MINI-68x9-5mfv-9jrp","MINI-6xx2-x297-9659","MINI-7548-ww8q-rf4c","MINI-8hwv-3gmm-j249","MINI-9gp6-5pg5-qqwh","MINI-9w34-6j94-vmx7","MINI-fmg9-rpw9-73gw","MINI-gg44-qpqp-2776","MINI-hwjq-2qr8-jgv3","MINI-jwqv-57qv-jm3f","MINI-r95j-27v8-mhjq","MINI-v2xq-c25q-88fv","MINI-vfxm-f26j-95fq","MINI-vhjh-76f7-gh2h","MINI-w3m4-xr52-qrf5","UBUNTU-CVE-2026-77421"],"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":"low_privilege","summary":"Attackers can cause denial of service in JLine's nano editor by submitting regex patterns that trigger excessive CPU consumption and block threads.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"JLine is a Java library for handling console input. From 3.0.0 until 3.30.15 and 4.3.1, the JLine built-in nano editor's regex search mode passes a user-controlled search term from doSearch(String text) in builtins/src/main/java/org/jline/builtins/Nano.java to Java's backtracking regular expression engine without a timeout or backtracking bound. A nested-quantifier expression evaluated against non-matching buffer content can consume excessive CPU and indefinitely block the editor session thread, and remote multi-user deployments can lose a worker thread for each affected session. This issue is fixed in versions 3.30.15 and 4.3.1.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"JLine: ReDoS in Nano Editor Regex Search Mode","id":"CVE-2026-77421","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping","id":"CVE-2026-77422"},"packages":[{"ecosystem":"Maven","fixed":["3.30.15"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jline:jline-builtins","purl":null,"source":"GHSA-ph9c-7hw9-vhhw"},{"ecosystem":"Maven","fixed":["3.30.15"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jline:jline-builtins","purl":"pkg:maven/org.jline/jline-builtins","source":"GHSA-ph9c-7hw9-vhhw"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-builtins","purl":null,"source":"GHSA-ph9c-7hw9-vhhw"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-builtins","purl":"pkg:maven/org.jline/jline-builtins","source":"GHSA-ph9c-7hw9-vhhw"}],"prev":{"headline":"JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable","id":"CVE-2026-77420"},"products":["jline3"],"published":"2026-09-23","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-23","vendors":["jline"]},"summary":"Attackers can cause denial of service in JLine's nano editor by submitting regex patterns that trigger excessive CPU consumption and block threads.","url":"https://insights.sbomify.com/CVE-2026-77421/"}