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.
Published: 2026-09-23
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: Denial of Service via ReDoS
Action: Apply Patch
AI Analysis

Impact

JLine’s built‑in less viewer can accept user‑supplied search or display‑filter patterns that are forwarded directly to Java’s back‑tracking regular expression engine. A nested‑quantifier pattern that does not match selected lines can consume excessive CPU and block the session thread for an extended period. When the same vulnerable session is opened repeatedly through Telnet or SSH, the bounded worker pool can become exhausted, preventing new user sessions and effectively denying service to legitimate users. The weakness is a Regular Expression Denial of Service (CWE‑1333) and would allow an attacker to cause a denial of service by sending a specially crafted pattern to the less viewer search function.

Affected Systems

The vulnerability affects the JLine library (artifact jline:jline3) versions from 3.0.0 through 3.30.15 and also the 4.3.1 release. These versions include the built‑in less viewer that accepts untrusted search patterns. Applications that incorporate JLine for terminal input—such as command‑line utilities and text editors running over SSH or Telnet—are susceptible if they use the less viewer feature without upgrading.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity denial‑of‑service risk. EPSS is not available, and the issue is not listed in the CISA KEV catalog, so public evidence of exploitation is not reported yet. However, the described attack path—submitting a malicious pattern through a terminal session—is feasible in any environment that accepts user input over Telnet, SSH, or local console access. The resulting CPU exhaustion or thread blockage can degrade availability for all users connected to the affected process, and in multi‑tenant deployments can lead to a full application outage.

Generated by OpenCVE AI on September 23, 2026 at 19:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the JLine library to a fixed release (jline:jline3 3.30.15 or 4.3.1).
  • If upgrading is not immediately possible, disable the built‑in less viewer search feature or ensure that any input is sanitized before being passed to the regular expression engine.
  • As a temporary measure, restrict terminal access so that only trusted users can invoke the less viewer, mitigating the risk of an attacker submitting malicious patterns.

Generated by OpenCVE AI on September 23, 2026 at 19:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 24 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Wed, 23 Sep 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title JLine: ReDoS in Built-in Less Viewer Search
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-23T18:17:49.635Z

Reserved: 2026-08-20T19:59:59.603Z

Link: CVE-2026-77423

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-23T19:19:16.017

Modified: 2026-09-23T19:19:16.017

Link: CVE-2026-77423

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-23T18:17:49Z

Links: CVE-2026-77423 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-23T19:45:08Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity