Advisory record · GHSA-r2xf-8xr9-62gw

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

CVSS 7.5 HighEPSS 0.0060 · 48th percentile

Published by the GitHub Advisory Database at 23 Sept 2026, 18:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.jline:jline-builtinsMaven>=4.0.0, <4.3.1 || >=3.0.0, <3.30.154.3.1, 3.30.15
Identifiers
GHSA-r2xf-8xr9-62gw · CVE-2026-77422
Weakness (CWE)
CWE-1333
Published
23 Sept 2026
Updated
23 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The jline-builtins Maven package (org.jline:jline-builtins) is vulnerable in versions from 4.0.0 before 4.3.1 and from 3.0.0 before 3.30.15. Its built-in grep command wraps the user's regular expression in ".*" before compiling it, which lets a short pattern such as (a+)+b hang the command thread on non-matching input. An attacker who can run grep through a JLine shell exposed to remote users can cause a denial of service; upgrade to version 4.3.1 or 3.30.15.

Written 2 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.5 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0060, the 48th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:16 UTC First seen by agentprime
  2. 31 Oct 2026, 14:16 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.