Vulnerability
CVE-2026-77420
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.
234 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-23fx-mv3x-5pc3
- CGA-24p3-2p98-w694
- CGA-24q9-p5pq-cxf9
- CGA-25v2-5rpp-5684
- CGA-25vh-rfh9-hp4q
- CGA-27jf-36q5-g59w
- CGA-29hg-fjgq-vgg4
- CGA-2g7j-9c2f-4vh7
- CGA-2h6f-6cwj-fhmv
- CGA-2hvf-hqjw-qg86
- CGA-2v7x-qmw4-g5g6
- CGA-32vc-m869-745f
- CGA-3369-5g4m-h63r
- CGA-35wp-67cp-vvqr
- CGA-368g-8p5x-8c5r
- CGA-37p4-vv3j-28mm
- CGA-3cmm-gf92-vm56
- CGA-3cx8-mhph-3q47
- CGA-3fhm-2c22-6p6h
- CGA-3gmh-v7w9-pv4c
- CGA-3gx3-x39m-3hrv
- CGA-3hq8-3vgv-w423
- CGA-3j4c-228g-j6jg
- CGA-3j64-2m2r-hj5g
- CGA-3j7f-hmc9-prq5
- CGA-3m3m-43fq-f289
- CGA-3mj6-g9g4-2554
- CGA-3qx5-wm3j-m3v9
- CGA-3r8m-w5qh-wrhq
- CGA-3vgr-j8r6-5mj8
- CGA-3vgr-r696-q5hm
- CGA-3wrx-vgxw-8xxx
- CGA-44jw-j4jh-pgj2
- CGA-48xc-c23v-j63v
- CGA-4c9v-4m99-5c9c
- CGA-4f2x-mwww-pg97
- CGA-4ggw-vwm3-xfjm
- CGA-4hr9-ghf8-7xrh
- CGA-4mf4-24h3-893r
- CGA-4qh4-rx4w-w9pv
- CGA-5399-xwpr-m7r4
- CGA-55rq-76m5-vgpq
- CGA-57hg-3m8r-785x
- CGA-57q5-3937-2q67
- CGA-58x8-39wx-xmjg
- CGA-595x-5m29-pp66
- CGA-5hjf-74q2-xh82
- CGA-5p6p-32h2-4pjj
- CGA-5wcx-c9h5-gxgf
- CGA-63fv-6465-j5q8
- CGA-6ccm-626j-v79x
- CGA-6gr3-j5pj-f77f
- CGA-6hg3-ggqx-36wh
- CGA-6mhp-99r2-v646
- CGA-6pwp-3m75-c76p
- CGA-6q52-mwwj-wg69
- CGA-6qm7-xr5x-xpm4
- CGA-6qr2-6jrv-xj4g
- CGA-6vxm-ggg8-6pgr
- CGA-6xgp-fpfc-qjxr
- CGA-73qw-48h5-8fjq
- CGA-7g9r-mr9m-2xj4
- CGA-7j3j-jgg7-f7wg
- CGA-7j4h-gxwh-m3wf
- CGA-7m39-hr2f-j27m
- CGA-7m67-3cqc-328w
- CGA-7pmx-w5j9-mqcw
- CGA-7qq6-2fxp-7hrp
- CGA-7v25-3rf3-4cqf
- CGA-8545-fmr6-rj46
- CGA-8fp2-9wx7-vhr2
- CGA-8g5q-98hg-5p4h
- CGA-8gq6-j8c6-69mc
- CGA-8hcq-9w85-f4r6
- CGA-8hp9-68pr-x9cm
- CGA-8j65-wxvj-hx36
- CGA-8m6h-9rh7-rg7c
- CGA-8p33-x492-m2rh
- CGA-8rp8-mv8x-632w
- CGA-8wc4-jvfw-5p6q
- CGA-8wgv-23gm-hfjw
- CGA-9275-3xj2-q9xw
- CGA-92m5-jphc-qx7x
- CGA-92qc-w56p-v4qr
- CGA-97pm-c834-7r67
- CGA-98wq-m2pc-3f6v
- CGA-99qr-mw22-hhx7
- CGA-9f4r-ccrf-wpp7
- CGA-9hr2-j5f7-j37g
- CGA-9m8q-75gq-9v76
- CGA-9p5p-33cr-9m86
- CGA-9v79-jwcp-3v53
- CGA-9v87-rrmv-6wg9
- CGA-9x7r-j7j7-7whr
- CGA-c28j-9qv6-xr6v
- CGA-c3w6-6w6r-xhm2
- CGA-c44c-965f-8wv5
- CGA-c4vc-hq4m-r9qp
- CGA-c5pm-qj95-gqpw
- CGA-c8j6-cq53-5w55
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-77420.
References
- https://github.com/jline/jline3/commit/1d5fc3099e77938b971e197211cad2d4fbb17541
- https://github.com/jline/jline3/commit/341ee69ccc57b7733c1b40d6993219b64b3206ae
- https://github.com/jline/jline3/pull/2012
- https://github.com/jline/jline3/pull/2018
- https://github.com/jline/jline3/releases/tag/4.3.1
- https://github.com/jline/jline3/releases/tag/jline-3.30.15
- https://github.com/jline/jline3/security/advisories/GHSA-5q95-hrpc-m3w3