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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-77422— JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping

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 grep command in builtins/src/main/java/org/jline/builtins/PosixCommands.java accepts a user-controlled regular expression in grep(...) and, unless line-r

CVSS 7.5 · High EPSS 0.50% · P40

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-77422

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 Built-in grep Command Amplified by Automatic `.*` Wrapping
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 grep command in builtins/src/main/java/org/jline/builtins/PosixCommands.java accepts a user-controlled regular expression in grep(...) and, unless line-regexp mode is used, automatically adds a dot-star prefix and suffix before compiling it with Java's backtracking regular expression engine. The wrapping expands the backtracking search space, so a short nested-quantifier expression evaluated against non-matching input can consume excessive CPU and indefinitely block a command worker, including in remotely exposed shell sessions. 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:N/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-77422

# 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-77422

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

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

Other References for CVE-2026-77422 (3)

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

CVE-2026-77423 7.5 HIGH JLine: ReDoS in Built-in Less Viewer Search
CVE-2026-77421 6.5 MEDIUM JLine: ReDoS in Nano Editor Regex Search Mode
CVE-2026-77420 5.5 MEDIUM JLine: ReDoS via `HISTORY_IGNORE` Configuration Variable

IV. Related Vulnerabilities

V. Comments for CVE-2026-77422

No comments yet


Leave a comment