Skip to main content
CVE-2026-77422VulnerabilityPublished Updated

From 3.0.0 until 3.30.15 and 4.3.1, the JLine built-in grep command in

Affects jlineSource GCVE Database

0
Compare
Authoritative record:CVE-2026-77422· High 7.5

Not known to be exploited · CVSS 7.5 High · fixed in 3.30.15 : patch jline soon.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 49% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 3.30.15
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10jlinepkg:deb/ubuntu/jline?arch=source&distro=stonkingOther threatsAffected
  • =1.0-3build1
Fixed in–
Ubuntu 26.10jline2pkg:deb/ubuntu/jline2?arch=source&distro=stonkingOther threatsAffected
  • =2.14.6-6
Fixed in–
Ubuntu 26.10jline3pkg:deb/ubuntu/jline3?arch=source&distro=stonkingOther threatsAffected
  • =3.3.1-4build1
  • =3.3.1-5
Fixed in–
Ubuntu 26.04 LTSjlinepkg:deb/ubuntu/jline?arch=source&distro=resoluteOther threatsAffected
  • =1.0-3
  • =1.0-3build1
Fixed in–
Ubuntu 26.04 LTSjline2pkg:deb/ubuntu/jline2?arch=source&distro=resoluteOther threatsAffected
  • =2.14.6-6
Fixed in–
Ubuntu 26.04 LTSjline3pkg:deb/ubuntu/jline3?arch=source&distro=resoluteOther threatsAffected
  • =3.3.1-4
  • =3.3.1-4build1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…