Description
JLine is a Java library for handling console input. From 3.0.0 until 3.30.15 and 4.3.1, DefaultHistory.matchPatterns(String patterns, String line) in reader/src/main/java/org/jline/reader/impl/history/DefaultHistory.java converts the HISTORY_IGNORE configuration value into a Java regular expression while escaping only part of its syntax, allowing other regex metacharacters to reach the backtracking engine. An attacker who can control application or user configuration can supply a nested-quantifier expression that is reevaluated whenever a command is added to history, consuming excessive CPU and indefinitely blocking the reader thread. This issue is fixed in versions 3.30.15 and 4.3.1.
Published: 2026-09-23
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-5q95-hrpc-m3w3 JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable
History

Tue, 29 Sep 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 27 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
First Time appeared Jline
Jline jline
Vendors & Products Jline
Jline jline

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

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 23 Sep 2026 18:30: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, DefaultHistory.matchPatterns(String patterns, String line) in reader/src/main/java/org/jline/reader/impl/history/DefaultHistory.java converts the HISTORY_IGNORE configuration value into a Java regular expression while escaping only part of its syntax, allowing other regex metacharacters to reach the backtracking engine. An attacker who can control application or user configuration can supply a nested-quantifier expression that is reevaluated whenever a command is added to history, consuming excessive CPU and indefinitely blocking the reader thread. This issue is fixed in versions 3.30.15 and 4.3.1.
Title JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable
Weaknesses CWE-1333
References
Metrics cvssV3_1

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


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-29T02:05:26.410Z

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

Link: CVE-2026-77420

cve-icon Vulnrichment

Updated: 2026-09-29T02:05:20.786Z

cve-icon NVD

Status : Received

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

Modified: 2026-09-29T03:17:17.740

Link: CVE-2026-77420

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-23T18:11:25Z

Links: CVE-2026-77420 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-27T11:45:48Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity