CVE-2026-77421JLine: ReDoS in Nano Editor Regex Search Mode
- 6.5MediumCVSS base score
- 0.43%Exploitation in 30 daysEPSS · top 62% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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 nano editor's regex search mode passes a user-controlled search term from doSearch(String text) in builtins/src/main/java/org/jline/builtins/Nano.java to Java's backtracking regular expression engine without a timeout or backtracking bound. A nested-quantifier expression evaluated against non-matching buffer content can consume excessive CPU and indefinitely block the editor session thread, and remote multi-user deployments can lose a worker thread for each affected session. This issue is fixed in versions 3.30.15 and 4.3.1.
Timeline
ID reserved
By GitHub_M
- 34 days later
· 34 days later
Published
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 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.43% · top 62% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.jline:jline-builtinsGHSA-ph9c-7hw9-vhhw (opens in a new tab)
References
References7
- https://github.com/jline/jline3/security/advisories/GHSA-ph9c-7hw9-vhhw (opens in a new tab)x_refsource_CONFIRM
- 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-85522 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-ph9c-7hw9-vhhw (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-77421)Record last updated .