CVE-2026-77420 json
JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable
published 2026-09-23 46 d ago modified 2026-09-30 39 d ago also EUVD-2026-85528 , GHSA-5q95-hrpc-m3w3
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 7%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jline:jline-reader 3.30.15, 4.3.1
- jline jline 3.30.15, 4.3.1
- org.jline jline-reader 3.30.15, 4.3.1
- github.com/jline/jline3@1d5fc30 commit
- github.com/jline/jline3@341ee69 commit
- github.com/jline/jline3#2012 pull request
- github.com/jline/jline3#2018 pull request
- github.com/jline/jline3/releases/tag/4.3.1 release
- github.com/jline/jline3/releases/tag/jline-3.30.15 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-77420 updated cvss 5.5
org.jline/jline-reader: JLine: Denial of Service vulnerability in history configuration processing
-
Red Hat AMQ Broker 7 jline-reader 3.30.8.redhat-00001affected: workaround, no fix available “Fix deferred”
-
Red Hat Fuse 7 jline-reader 3.30.8.redhat-00001affected: workaround, no fix planned “Out of support scope”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-spark-operator-rhel9, rhoai/odh-th-torch-cpu-py312-rhel9, rhoai/odh-th-torch-cuda-py312-rhel9, rhoai/odh-th06-cpu-torch210-py312-rhel9, rhoai/odh-th06-cpu-torch291-py312-rhel9, rhoai/odh-th06-rocm64-torch291-py312-rhel9, +2 moreaffected: workaround, no fix available “Fix deferred”
-
Red Hat OpenStack Platform 13 (Queens) opendaylightaffected: workaround, no fix planned “Out of support scope”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 41 d ago
Exploit prediction
0.18% chance of exploitation in the next 30 days, higher than 7% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jline:jline-reader | >=4.0.0, <4.3.1 >=3.0.0, <3.30.15 |
4.3.1 3.30.15 |
Affected products
- jline jline3
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/jline/jline3/pull/2012
web
-
github.com
/jline/jline3/pull/2018
web
-
github.com
/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541
web
-
github.com
/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206ae
web
-
github.com
/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3
exploit, web
-
github.com
/jline/jline3/releases/tag/4.3.1
web
-
github.com
/jline/jline3/releases/tag/jline-3.30.15
web
-
github.com
/jline/jline3
package
Sources
- CVE List CVE-2026-77420
- GitHub Advisory GHSA-5q95-hrpc-m3w3
- NVD CVE-2026-77420
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.