THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-r2xf-8xr9-62gw (high) — JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping

[GHSA] GHSA-r2xf-8xr9-62gw (high) — JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping

medgithub_advisoriesPublished 2026-09-23

GHSA-r2xf-8xr9-62gw Severity: high CVE: CVE-2026-77422

JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping

### Summary

The JLine3 built-in `grep` command wraps the user-supplied regular expression with `.*` before compiling it with Java's backtracking regex engine. This amplifies catastrophic backtracking and allows a short pattern such as `(a+)+b` to hang the command thr

Indicators of compromise

Original source: https://github.com/advisories/GHSA-r2xf-8xr9-62gw