{"answers":{"affected":"4 open source packages ship an affected version, including org.jline:jline-reader.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77420 exists.","fix":"Upgrade org.jline:jline-reader to a fixed version for your release line: 3.30.15 or 4.3.1.","what":"CVE-2026-77420 is a medium-severity denial of service vulnerability in jline3, published on 23 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-77420 and fix it if it is affected.\n\nWhat it is: CVE-2026-77420 is a medium-severity denial of service vulnerability in jline3, published on 23 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-77420 exists.\n\nAffected packages and fixed versions:\n- org.jline:jline-reader (Maven): affected from 3.0.0; fixed in 3.30.15\n- org.jline:jline-reader (Maven): affected from 3.0.0; fixed in 3.30.15\n- org.jline:jline-reader (Maven): affected from 4.0.0; fixed in 4.3.1\n- org.jline:jline-reader (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-77420/ (Markdown: https://insights.sbomify.com/CVE-2026-77420/index.md)","id":"CVE-2026-77420","markdown":"https://insights.sbomify.com/CVE-2026-77420/index.md","name":"CVE-2026-77420","record":{"aliases":["CLEANSTART-2026-AA89451","CLEANSTART-2026-AQ28324","CLEANSTART-2026-HM88327","CLEANSTART-2026-IR34711","CLEANSTART-2026-KE95640","CLEANSTART-2026-MF43595","CLEANSTART-2026-SQ10175","CLEANSTART-2026-ZH81930","DEBIAN-CVE-2026-77420","ECHO-cfa0-39d5-b1d1","GHSA-5q95-hrpc-m3w3","MINI-2mjq-5fh8-rm6p","MINI-3ggc-f4j6-g56j","MINI-3h63-6vmx-x4m4","MINI-3xrp-72jv-94f9","MINI-4337-p896-jqgh","MINI-44v4-v8wc-584r","MINI-458m-2p3r-c77p","MINI-4fcp-hv9h-mhhr","MINI-4h7v-v4vq-c79w","MINI-4jc9-f7m2-fjp9","MINI-4x72-f42p-743m","MINI-55c8-86j5-32q9","MINI-5726-9c87-vmrh","MINI-58vx-vg5x-phv7","MINI-5ghg-g585-hjv6","MINI-5jh9-3cg8-x4mp","MINI-66gx-6phf-c2c5","MINI-6c6m-wxpf-xcc6","MINI-6m52-rppf-4x5x","MINI-6mp6-fv45-v6x6","MINI-6vgc-vxrp-vqww","MINI-7629-6vjf-xprf","MINI-843j-2gh6-j2fj","MINI-87mv-qc28-6x69","MINI-8cwj-pmp6-563v","MINI-9ff9-5c5w-3964","MINI-fjvx-3f66-xxjw","MINI-fpr2-g6hf-8fvc","MINI-g66j-254p-7c79","MINI-h5v3-fjr8-cjhh","MINI-jvxm-qjw6-78fp","MINI-mjxx-5fgq-c7fq","MINI-mr45-q8gv-cw7f","MINI-p466-pqrp-3g56","MINI-pm9j-m4w4-w675","MINI-q3jp-6w83-4j3q","MINI-r47r-4r74-jc55","MINI-r982-56wh-m96p","MINI-rffw-q8r8-gx45","MINI-rg49-qh84-j6vm","MINI-rw83-whw5-gf56","MINI-rx9x-q5mw-39x3","MINI-vgf2-rf3r-66g9","MINI-w9xg-m8xg-x9m8","MINI-wh6h-h3hr-qf48","MINI-wp5v-whx2-73w9","MINI-x64c-364g-phh6","MINI-x7cr-8mvq-hvrq","UBUNTU-CVE-2026-77420"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Java console input library","requires_auth":"low_privilege","summary":"An attacker controlling configuration can trigger a ReDoS attack in JLine, causing excessive CPU usage and blocking the reader thread.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/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, DefaultHistory.matchPatterns(String patterns, String line) in reader/src/main/java/org/jline/reader/impl/history/DefaultHistory.java converts the HISTORY_IGNORE configuration value into a Java regular expression while escaping only part of its syntax, allowing other regex metacharacters to reach the backtracking engine. An attacker who can control application or user configuration can supply a nested-quantifier expression that is reevaluated whenever a command is added to history, consuming excessive CPU and indefinitely blocking the reader thread. 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 via `HISTORY_IGNORE` Configuration Variable","id":"CVE-2026-77420","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 Nano Editor Regex Search Mode","id":"CVE-2026-77421"},"packages":[{"ecosystem":"Maven","fixed":["3.30.15"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jline:jline-reader","purl":null,"source":"GHSA-5q95-hrpc-m3w3"},{"ecosystem":"Maven","fixed":["3.30.15"],"introduced":["3.0.0"],"last_affected":[],"package":"org.jline:jline-reader","purl":"pkg:maven/org.jline/jline-reader","source":"GHSA-5q95-hrpc-m3w3"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-reader","purl":null,"source":"GHSA-5q95-hrpc-m3w3"},{"ecosystem":"Maven","fixed":["4.3.1"],"introduced":["4.0.0"],"last_affected":[],"package":"org.jline:jline-reader","purl":"pkg:maven/org.jline/jline-reader","source":"GHSA-5q95-hrpc-m3w3"}],"prev":{"headline":"JSONata: Arbitrary Code Execution via crafted JSONata expressions","id":"CVE-2026-77415"},"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-29","vendors":["jline"]},"summary":"An attacker controlling configuration can trigger a ReDoS attack in JLine, causing excessive CPU usage and blocking the reader thread.","url":"https://insights.sbomify.com/CVE-2026-77420/"}