# CVE-2026-77420: JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable

- Severity: Medium 5.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-23T18:11:25.998Z
- Modified: 2026-09-30T19:38:27.293Z
- Also known as: GHSA-5q95-hrpc-m3w3
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jline jline3: >= 3.0.0, < 3.30.15; >= 4.0.0, < 4.3.1
- org.jline:jline-reader (Maven): from 4.0.0 before 4.3.1; from 3.0.0 before 3.30.15

## Every score

- GitHub_M: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3> (exploit, web)
- <https://github.com/jline/jline3/pull/2012> (web)
- <https://github.com/jline/jline3/pull/2018> (web)
- <https://github.com/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541> (web)
- <https://github.com/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206ae> (web)
- <https://github.com/jline/jline3/releases/tag/4.3.1> (web)
- <https://github.com/jline/jline3/releases/tag/jline-3.30.15> (web)
- <https://github.com/jline/jline3> (package)

## Sources

- CVE List: [CVE-2026-77420](https://www.cve.org/CVERecord?id=CVE-2026-77420), CVE Terms of Use, modified 2026-09-29
- GitHub Advisory Database: [GHSA-5q95-hrpc-m3w3](https://github.com/advisories/GHSA-5q95-hrpc-m3w3), CC-BY-4.0, modified 2026-09-23
- NVD: [CVE-2026-77420](https://nvd.nist.gov/vuln/detail/CVE-2026-77420), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-77420 · Whole record: https://cve.day/CVE-2026-77420.json · Rebuilt by cve.day 2026-11-25T22:59:40.663Z
