{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-77420","id":"CVE-2026-77420","title":"JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable","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 backtrackin","descriptionLong":"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.","published":"2026-09-23T18:11:25.998Z","updated":"2026-10-28T11:00:37.938981385Z","reserved":"2026-08-20T19:59:59.603Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["jline3"],"affectedProducts":[{"vendor":"jline","product":"jline3","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.30.15","status":"affected"},{"version":">= 4.0.0, < 4.3.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jline:jline-reader","purl":"pkg:maven/org.jline/jline-reader","ranges":[">=4.0.0 <4.3.1",">=3.0.0 <3.30.15"],"fixed":["4.3.1","3.30.15"],"advisory":"GHSA-5q95-hrpc-m3w3"}],"cwes":["CWE-1333"],"aliases":["GHSA-5q95-hrpc-m3w3"],"references":[{"url":"https://github.com/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/jline/jline3/pull/2012","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/jline/jline3/pull/2018","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206ae","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/jline/jline3/releases/tag/4.3.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/jline/jline3/releases/tag/jline-3.30.15","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77420.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77420","tags":["advisory"]},{"url":"https://github.com/jline/jline3","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00181,"epssPercentile":0.07824,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-77420","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77420","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-77420","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5q95-hrpc-m3w3","ok":true,"note":"GHSA-5q95-hrpc-m3w3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-77420","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}