CVE-2026-77420JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable
- 5.5MediumCVSS base score
- 0.18%Exploitation in 30 daysEPSS · top 92% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3 (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 34 days later
· 34 days later
Published
- 6 days later
· 6 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.18% · top 92% of all CVEs (18 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.jline:jline-readerGHSA-5q95-hrpc-m3w3 (opens in a new tab)
References
References7
- https://github.com/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3 (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/jline/jline3/pull/2012 (opens in a new tab)x_refsource_MISC
- https://github.com/jline/jline3/pull/2018 (opens in a new tab)x_refsource_MISC
- https://github.com/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541 (opens in a new tab)x_refsource_MISC
- https://github.com/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206ae (opens in a new tab)x_refsource_MISC
- https://github.com/jline/jline3/releases/tag/4.3.1 (opens in a new tab)x_refsource_MISC
- https://github.com/jline/jline3/releases/tag/jline-3.30.15 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-85528 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5q95-hrpc-m3w3 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-77420)Record last updated .