Vulnerability
CVE-2026-77421
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 nano editor's regex search mode passes a user-controlled search term from doSearch(String text) in builtins/src/main/java/org/jline/builtins/Nano.java to Java's backtracking regular expression engine without a timeout or backtracking bound. A nested-quantifier expression evaluated against non-matching buffer content can consume excessive CPU and indefinitely block the editor session thread, and remote multi-user deployments can lose a worker thread for each affected session. This issue is fixed in versions 3.30.15 and 4.3.1.
170 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-2544-6w37-c23c
- CGA-25hh-wm5q-xp4p
- CGA-25vg-52gj-g6px
- CGA-2866-7fcg-qjfr
- CGA-2p2h-gm5g-7vp7
- CGA-2pgg-gj4p-379q
- CGA-35h9-pmjm-85g5
- CGA-377j-r9v5-8xxv
- CGA-37cm-mmrj-3xxm
- CGA-38gw-8qph-wf8w
- CGA-393g-j4jw-jv4w
- CGA-39gg-rq4p-4mhx
- CGA-39h2-qh7x-crg8
- CGA-3c63-63cf-vrwg
- CGA-3j68-fcj3-q8r5
- CGA-3m3c-r3m7-pgg8
- CGA-3p99-pjcx-6v93
- CGA-3pv6-6hwr-cxhw
- CGA-3r7q-rpf6-xm39
- CGA-42jq-63h8-rg5c
- CGA-42rf-mf35-w978
- CGA-4442-6qxw-fpcp
- CGA-459h-wr23-7v95
- CGA-45wc-7qww-7crc
- CGA-4cg7-wxrj-6mh6
- CGA-4cjr-x68f-mh65
- CGA-4gg5-pr7p-jpj7
- CGA-4gxm-g33x-95cp
- CGA-4pvw-gxfv-xhpg
- CGA-4rc7-54vw-5qjv
- CGA-4rpq-g5cp-g4gj
- CGA-4wqq-j7xm-j382
- CGA-4x55-pw5f-27xm
- CGA-4xjx-9v6f-r73x
- CGA-54gh-pm6g-wwfq
- CGA-56wg-c42w-cq83
- CGA-58mm-9xrc-5xvg
- CGA-59qv-c4mf-6vcm
- CGA-5fmv-c9m4-2mrw
- CGA-5qr8-jhjp-9qwq
- CGA-5wvp-pfvv-x4qc
- CGA-5x56-gg9g-m829
- CGA-5xxc-grgg-c9fx
- CGA-64c2-vrvh-79h2
- CGA-65h8-jcc8-3rcj
- CGA-65hr-4q59-q2qv
- CGA-65mr-hvrq-mwjf
- CGA-6863-crxc-r2vw
- CGA-6g22-mwgx-hw9h
- CGA-6g55-6f9q-m9mw
- CGA-6hrm-j2r8-2ghc
- CGA-6jf7-rhhv-78cc
- CGA-6m8r-4pq6-35j6
- CGA-6p4v-5fw5-9vv5
- CGA-6vhq-p4gv-m9x6
- CGA-768j-wjmm-pxxm
- CGA-7hhm-2fq2-jp9p
- CGA-7jj9-p9hr-4m98
- CGA-7mfg-jp2g-cqvq
- CGA-7q7r-9gx6-w4hc
- CGA-7vj5-r3h7-3r43
- CGA-7xvg-2rpm-6789
- CGA-82q4-qxjf-4q76
- CGA-82wc-hqqj-68w9
- CGA-8f3p-fqxq-w6vh
- CGA-8jc5-5659-r83c
- CGA-8m62-w7f2-jcq4
- CGA-8p38-qfwv-mvwv
- CGA-8p64-2q83-2w4c
- CGA-8rch-9824-j22g
- CGA-97q5-gr4m-vjx5
- CGA-9pwc-f88c-9vcm
- CGA-c257-vhh5-99c2
- CGA-c2c4-r5xq-jx5q
- CGA-c3c7-gx2m-34cj
- CGA-c3vc-4pwh-xxrr
- CGA-c5h6-gxw8-88r7
- CGA-c7gf-ph69-gjm2
- CGA-c8mc-76mp-943q
- CGA-chjx-7447-4v7q
- CGA-chw4-734w-r38h
- CGA-cq8p-h9hx-pf5m
- CGA-cqp5-v4q6-m5pr
- CGA-f753-gf9g-jcq3
- CGA-f8wp-8f5w-3c58
- CGA-fc9h-997v-7j5p
- CGA-fg23-r5pq-9q3f
- CGA-fgfq-4ccp-3j8j
- CGA-fj6j-p5mh-hvmq
- CGA-fw2g-2jv2-grhr
- CGA-fwj9-8phg-896x
- CGA-fxr8-h82q-42gx
- CGA-g52j-qwph-5v25
- CGA-g6v3-7pvf-rmwv
- CGA-g853-gq5g-23gv
- CGA-g8w8-xxcc-7pv2
- CGA-gfh2-p9j3-3fgp
- CGA-gfh4-wh8f-h7ph
- CGA-h4r3-w2vm-c47w
- CGA-h4r4-5rpf-6r9j
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-77421.
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-ph9c-7hw9-vhhw