CVE-2026-77423: jline3 leads to ReDoS in Built-in Less Viewer Search
Published 2026-11-23 · Updated 2026-11-23 · Also known as GHSA-2v9w-34q6-wpqx
Summary
The JLine3 built-in less pager is vulnerable to Regular Expression Denial of Service (ReDoS) due to the use of an unconstrained Java regex engine on user-supplied search strings. Developers embedding the jline-builtins library should update to the provided fixed versions to mitigate potential thread exhaustion.
Who is affected
Applications utilizing org.jline:jline-builtins that expose the less viewer are susceptible to resource exhaustion if user input is provided as a malicious regex pattern. This vulnerability is particularly critical in multi-user environments like Telnet or SSH services, where an attacker can trigger catastrophic backtracking to hang a thread and potentially deplete the application's session worker pool.
Exploitability
The vulnerability has a high CVSS base score of 7.5, reflecting its potential to cause a complete denial of service via simple network-based interaction without prior authentication or user intervention. The EPSS score is 0.005, indicating a low current probability of widespread exploitation, and the issue is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade org.jline:jline-builtins to version 3.30.15 for the 3.x branch.
- Upgrade org.jline:jline-builtins to version 4.3.1 for the 4.x branch.
- Transition regex processing to a linear-time engine like RE2/J if direct updates are not immediately feasible.
How to check your project
- Check your project's pom.xml or dependency tree to identify if org.jline:jline-builtins is present within the identified vulnerable version ranges.
- Audit application code for instances where user-supplied strings are passed into the JLine3 Less component, which may trigger the vulnerable search or display-filter paths.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Maven | org.jline:jline-builtins |
>= 0, < 3.30.15 | 3.30.15 | - |
| Maven | org.jline:jline-builtins |
>= 4.0.0, < 4.3.1 | 4.3.1 | - |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What specifically triggers the ReDoS condition?
The vulnerability is triggered by providing complex, nested regex patterns (e.g., (a+)+b) into the less viewer's search or display-filter functions, which triggers exponential backtracking in the Java standard regex engine.
Is this vulnerability limited to local usage?
No. While it can hang a local session, it is significantly more dangerous in network-exposed deployments like Telnet or SSH, where an attacker can exploit the vulnerability to exhaust server worker threads.
Is there active exploitation of this vulnerability currently?
No. CISA Known Exploited Vulnerabilities status is currently 'no'.
Original advisory description
References
- WEB https://github.com/jline/jline3/security/advisories/GHSA-2v9w-34q6-wpqx
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-77423
- 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
- PACKAGE https://github.com/jline/jline3
- WEB https://github.com/jline/jline3/releases/tag/4.3.1
- WEB https://github.com/jline/jline3/releases/tag/jline-3.30.15
Source records: GHSA-2v9w-34q6-wpqx (OSV.dev) · EPSS by FIRST, 2026-11-26.