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 grep command in builtins/src/main/java/org/jline/builtins/PosixCommands.java accepts a user-controlled regular expression in grep(...) and, unless line-regexp mode is used, automatically adds a dot-star prefix and suffix before compiling it with Java's backtracking regular expression engine. The wrapping expands the backtracking search space, so a short nested-quantifier expression evaluated against non-matching input can consume excessive CPU and indefinitely block a command worker, including in remotely exposed shell sessions. This issue is fixed in versions 3.30.15 and 4.3.1.
CVE-2026-77422
This high-severity CVE scores 7.5 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.5%, top 60% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS PROB
- 0%
- EPSS %ILE
- 40%
- KEV
- Not listed
Published
September 23, 2026
Last Modified
September 24, 2026
Advisory Details (7)
Auto-updated Sep 23, 2026JLine 3.30.15
Patch available: jline/jline3 jline-3.30.15
https://github.com/jline/jline3/releases/tag/jline-3.30.15JLine 4.3.1
Patch available: jline/jline3 4.3.1
https://github.com/jline/jline3/releases/tag/4.3.1commit 341ee69ccc57 (jline/jline3)
Patch available: jline/jline3 jline-3.30.15 (contains commit 341ee69ccc57)
https://github.com/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206aecommit 1d5fc3099e77 (jline/jline3)
Patch available: jline/jline3 4.3.1 (contains commit 1d5fc3099e77)
https://github.com/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541[backport jline-3.x] fix: guard regex matching against catastrophic backtracking (ReDoS)
Patch available: jline/jline3 jline-3.30.15 (PR #2018 merged 2026-06-30)
https://github.com/jline/jline3/pull/2018fix: guard regex matching against catastrophic backtracking (ReDoS)
Patch available: jline/jline3 4.3.1 (PR #2012 merged 2026-06-30)
https://github.com/jline/jline3/pull/2012ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping · Advisory · jline/jline3 · GitHub
https://github.com/jline/jline3/security/advisories/GHSA-r2xf-8xr9-62gwVendor Advisories for CVE-2026-77422(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.jline:jline-builtins | 4.0.0 ... 4.3.0 (23 versions) | 4.3.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 6× in last 7d / 6× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-24 14:34 UTCEG score recompute
- 2026-09-24 14:17 UTCEG score recompute
- 2026-09-24 14:04 UTCEPSS rescore
- 2026-09-23 19:28 UTCEG score recompute
- 2026-09-23 18:22 UTCEG score recompute
- 2026-09-23 18:21 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-77422?
When was CVE-2026-77422 disclosed?
Is CVE-2026-77422 actively exploited?
What is the CVSS score of CVE-2026-77422?
How do I remediate CVE-2026-77422?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-77422
Is Your Infrastructure Affected by CVE-2026-77422?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.