{"answers":{"affected":"4 open source packages ship an affected version, including org.jline:jline-builtins.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77422 exists.","fix":"Upgrade org.jline:jline-builtins to a fixed version for your release line: 3.30.15 or 4.3.1.","what":"CVE-2026-77422 is a high-severity denial of service vulnerability in jline3, published on 23 Sep 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-77422 and fix it if it is affected.\n\nWhat it is: CVE-2026-77422 is a high-severity denial of service vulnerability in jline3, published on 23 Sep 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-77422 exists.\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-77422/ (Markdown: https://insights.sbomify.com/CVE-2026-77422/index.md)","id":"CVE-2026-77422","markdown":"https://insights.sbomify.com/CVE-2026-77422/index.md","name":"CVE-2026-77422","record":{"aliases":["CLEANSTART-2026-AH69997","CLEANSTART-2026-FW62825","CLEANSTART-2026-IC20744","CLEANSTART-2026-LG94890","CLEANSTART-2026-QX36211","CLEANSTART-2026-YI14989","DEBIAN-CVE-2026-77422","ECHO-0d62-d5f6-97a4","GHSA-r2xf-8xr9-62gw","MINI-22mg-wjf2-98q7","MINI-4rm4-v8jx-cvfg","MINI-4vqp-qwc3-mjw7","MINI-6pv4-49jq-fwxp","MINI-8hx2-rr3j-3vxw","MINI-9j8m-2xhx-8gcv","MINI-9vgq-2cwg-3rw2","MINI-f76q-4g4f-74x9","MINI-mm2f-pc3c-998x","MINI-mxrg-3qgx-725w","MINI-pq78-7cp9-prhx","MINI-pw28-hg3r-7qmv","MINI-qfjq-hwhj-px46","MINI-qvjj-2448-p2m6","MINI-w92q-c7gm-966c","MINI-xhc6-gfjg-x7p8","ROOT-APP-MAVEN-CVE-2026-77422","UBUNTU-CVE-2026-77422"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java console library","requires_auth":"none","summary":"Attackers can cause denial of service in JLine applications by submitting crafted regular expressions to the built-in grep command, leading to excessive CPU consumption.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"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-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 grep command in builtins/src/main/java/org/jline/builtins/PosixCommands.java accepts a user-controlled regular expression in grep(...) and, unless line-regexp mode is used, automatically adds a dot-star prefix and suffix before compiling it with Java's backtracking regular expression engine. The wrapping expands the backtracking search space, so a short nested-quantifier expression evaluated against non-matching input can consume excessive CPU and indefinitely block a command worker, including in remotely exposed shell sessions. 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":"weaponised"},"has_fix":true,"headline":"JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping","id":"CVE-2026-77422","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 Less Viewer Search","id":"CVE-2026-77423"},"packages":[{"ecosystem":"Maven","fixed":["3.30.15"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jline:jline-builtins","purl":null,"source":"GHSA-r2xf-8xr9-62gw"},{"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-r2xf-8xr9-62gw"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-builtins","purl":null,"source":"GHSA-r2xf-8xr9-62gw"},{"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-r2xf-8xr9-62gw"}],"prev":{"headline":"JLine: ReDoS in Nano Editor Regex Search Mode","id":"CVE-2026-77421"},"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-24","vendors":["jline"]},"summary":"Attackers can cause denial of service in JLine applications by submitting crafted regular expressions to the built-in grep command, leading to excessive CPU consumption.","url":"https://insights.sbomify.com/CVE-2026-77422/"}