CVE-2026-77423
High 7.5No known exploitationFix availableJLine: ReDoS in Built-in Less Viewer Search
Vendor advisory: GHSA-2v9w-34q6-wpqx
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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 less viewer passes user-controlled search and display-filter patterns from getPattern(boolean doDisplayPattern) in builtins/src/main/java/org/jline/builtins/Less.java directly to Java's backtracking regular expression engine and repeatedly applies them to file content. A nested-quantifier expression evaluated against non-matching lines can consume excessive CPU and indefinitely block the session thread, and repeated sessions in Telnet or SSH deployments can exhaust a bounded worker pool. This issue is fixed in versions 3.30.15 and 4.3.1.
Weakness: CWE-1333
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| jline | jline3 | >= 3.0.0, < 3.30.15 | Not documented | CVE Program |
| jline | jline3 | >= 4.0.0, < 4.3.1 | Not documented | CVE Program |
| maven | org.jline:jline-builtins | from 4.0.0 before 4.3.1 | 4.3.1 | GitHub Advisory Database |
| maven | org.jline:jline-builtins | all versions before 3.30.15 | 3.30.15 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-2v9w-34q6-wpqx (opens in a new tab)github-advisory
- 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/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/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
- https://github.com/jline/jline3/security/advisories/GHSA-2v9w-34q6-wpqx (opens in a new tab)x_refsource_confirm