<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T21:52:27.874024+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/bdu:2026-15230</id>
    <title>bdu:2026-15230</title>
    <updated>2026-10-04T21:52:27.886695+00:00</updated>
    <content>bdu:2026-15230</content>
    <link href="https://vulnerability.circl.lu/vuln/bdu:2026-15230"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cleanstart-2026-yi14989</id>
    <title>CLEANSTART-2026-YI14989 — JLine is a Java library for handling console input</title>
    <updated>2026-10-04T21:52:27.886936+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> CleanStart: apache-nifi, CleanStart: apache-zookeeper, CleanStart: kafka</p>
<p>CVE-2026-77422 affects multiple packages. JLine is a Java library for handling console input. See references for individual vulnerability details.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cleanstart-2026-yi14989"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-77422</id>
    <title>fkie_cve-2026-77422</title>
    <updated>2026-10-04T21:52:27.887058+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-77422"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-r2xf-8xr9-62gw</id>
    <title>GHSA-r2xf-8xr9-62gw — JLine: ReDoS in Built-in grep Command Amplified by Automatic `.*` Wrapping</title>
    <updated>2026-10-04T21:52:27.887132+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Maven: org.jline:jline-builtins</p>
<p>### Summary</p>
<p>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 thread on non-matching input. In environments that expose the JLine shell to
remote users, this is a denial-of-service issue.</p>
<p>### Details</p>
<p>In `builtins/src/main/java/org/jline/builtins/PosixCommands.java`, the grep
implementation rewrites the user pattern before compilation:</p>
<p>```java
String regex = args.remove(0);
String regexp = regex;
if (opt.isSet("word-regexp")) {
    regexp = "\\b" + regexp + "\\b";
}
if (opt.isSet("line-regexp")) {
    regexp = "^" + regexp + "$";
} else {
    regexp = ".*" + regexp + ".*";
}
```</p>
<p>The transformed pattern is compiled with `Pattern.compile(...)` and then used to test
each input line. For a payload such as `(a+)+b`, the automatic `.*` prefix and suffix
increase the backtracking search space substantially.</p>
<p>Affected source location:
- `builtins/src/main/java/org/jline/builtins/PosixCommands.java`
- `grep(...)`</p>
<p>### PoC</p>
<p>1. Create a file containing a long run of `a` characters:</p>
<p>```sh
printf 'aaaaaaaaaaaaaaaaaaaaaaa\n' &gt; /tmp/testfile.txt
```</p>
<p>2. Run JLine3's built-in `grep` against that file:</p>
<p>```sh
grep '(a+)+b' /tmp/testfile.txt
```</p>
<p>Expected result:
- The command stops responding.
- The executing thread consumes high CPU.</p>
<p>Reproduction environment:
- JLine3 on x86_64 Linux
-…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-r2xf-8xr9-62gw"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ubuntu-cve-2026-77422</id>
    <title>UBUNTU-CVE-2026-77422</title>
    <updated>2026-10-04T21:52:27.887328+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Ubuntu:14.04:LTS: jline, Ubuntu:14.04:LTS: jline2, Ubuntu:16.04:LTS: jline, Ubuntu:16.04:LTS: jline2, Ubuntu:18.04:LTS: jline, Ubuntu:18.04:LTS: jline2, Ubuntu:20.04:LTS: jline, Ubuntu:20.04:LTS: jline2, Ubuntu:22.04:LTS: jline, Ubuntu:22.04:LTS: jline2 and 7 more</p>
<p>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.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ubuntu-cve-2026-77422"/>
  </entry>
</feed>
