Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-77421— JLine: ReDoS in Nano Editor Regex Search Mode

Quick assessment

Affected
jline jline3
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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

CVSS 6.5 · Medium EPSS 0.43% · P35

Affected Version Matrix 2

VendorProduct Version RangeStatus
jline jline3 >= 3.0.0, < 3.30.15 affected
>= 4.0.0, < 4.3.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-77421

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
JLine: ReDoS in Nano Editor Regex Search Mode
Source: CVE Program / CVE List V5
Vulnerability 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 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
jline jline3 >= 3.0.0, < 3.30.15 -

II. Public POCs for CVE-2026-77421

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-77421

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-77421 (4)

Other References for CVE-2026-77421 (3)

Same Patch Batch · jline · 2026-09-23 · 4 CVEs total

CVE-2026-77422 7.5 HIGH JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping
CVE-2026-77423 7.5 HIGH JLine: ReDoS in Built-in Less Viewer Search
CVE-2026-77420 5.5 MEDIUM JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable

IV. Related Vulnerabilities

V. Comments for CVE-2026-77421

No comments yet


Leave a comment