# CVE-2026-77421: JLine: ReDoS in Nano Editor Regex Search Mode

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/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.43%, higher than 39% of CVEs (2026-12-02)
- Published: 2026-09-23T18:07:21.134Z
- Modified: 2026-09-30T16:44:39.840Z
- Also known as: GHSA-ph9c-7hw9-vhhw
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, 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, 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.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/jline/jline3/security/advisories/GHSA-ph9c-7hw9-vhhw> (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-77421](https://www.cve.org/CVERecord?id=CVE-2026-77421), CVE Terms of Use, modified 2026-09-23
- GitHub Advisory Database: [GHSA-ph9c-7hw9-vhhw](https://github.com/advisories/GHSA-ph9c-7hw9-vhhw), CC-BY-4.0, modified 2026-09-23
- NVD: [CVE-2026-77421](https://nvd.nist.gov/vuln/detail/CVE-2026-77421), Public domain, modified 2026-09-30

---

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