CVE-2026-77422: JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping
Vulnerability summary
CVE-2026-77422 is a high (CVSS 7.5) vulnerability in jline jline3. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 48.4% of scored vulnerabilities.
Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 23-09-2026PublishedVulnerability first disclosed.
- 24-09-2026Last modifiedVulnerability information updated.
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 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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · MavenEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
48%
Versus all other CVEs
30-day change
Increase +0.10 pp
From 0.50% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard53 products
- akhq< 0.28.0-r9
- apache-camel-karavan-devmode< 4.18.1-r13
- apache-nifi-2.11< 2.11.0-r8
- apache-polarisAll versions (No fix recorded)
- apache-polaris-fipsAll versions (No fix recorded)
Wolfi11 products
- akhq< 0.28.0-r9
- apache-pulsar-4.2< 4.2.4-r6
- celeborn-0.6All versions (No fix recorded)
- druid< 37.0.0-r60
- kafka-4.1< 4.1.2-r9
Ubuntu3 products
- jlineAll versions (No fix recorded)
- jline2All versions (No fix recorded)
- jline3All versions (No fix recorded)
Debian1 product
- jline3All versions (No fix recorded)
Jline1 product
- jline3≥ 3.0.0, < 3.30.15 | ≥ 4.0.0, < 4.3.1
Org.jline1 product
- jline-builtins≥ 4.0.0, < 4.3.1 | ≥ 3.0.0, < 3.30.15
6 vendors · 70 products
References
13 linksShow all 13 references
- github.com/jline/jline3PACKAGE