<?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-01T00:45:01.222019+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/cve-2026-80205</id>
    <title>CVE-2026-80205 — NLTK before 3.10.0 ReDoS via Text.findall() unvalidated regex</title>
    <updated>2026-10-01T00:45:01.227383+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> nltk</p>
<p>NLTK versions before 3.10.0 contain a regular expression denial of service vulnerability in Text.findall() and TokenSearcher.findall() methods that accept user-supplied regular expressions without validation or timeout. Attackers can supply crafted regex patterns that cause catastrophic backtracking, resulting in indefinite CPU saturation and denial of service to all users of the Python process.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2026-80205"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-rrv8-h7p8-rx55</id>
    <title>GHSA-rrv8-h7p8-rx55 — NLTK: ReDoS in nltk.text.Text.findall() via unvalidated user-supplied regular expressions</title>
    <updated>2026-10-01T00:45:01.227587+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: nltk</p>
<p>### Summary
NLTK's `Text.findall()` and `TokenSearcher.findall()` methods accept user-supplied regular expressions and pass them to the Python `re` engine without timeout or validation, enabling catastrophic backtracking (ReDoS). This issue is isolated to the `nltk.text` module and was resolved in a prior commit.</p>
<p>### Affected Code
`nltk/text.py` — `TokenSearcher.findall()` (line 255) / `Text.findall()` (line 620)</p>
<p>`TokenSearcher.__init__` builds an internal string by wrapping each token in angle brackets. The `findall()` method preprocesses the caller-supplied regexp and runs it directly against this string with no timeout:</p>
<p>```python
def findall(self, regexp):
    # Preprocessing does NOT prevent catastrophic backtracking
    regexp = re.sub(r"\s", "", regexp)
    regexp = re.sub(r"&lt;", "(?:&lt;(?:", regexp)
    regexp = re.sub(r"&gt;", ")&gt;)", regexp)
    regexp = re.sub(r"(?&lt;!\\)\.", "[^&gt;]", regexp)</p>
<p># User-controlled regexp executed with no timeout
    hits = re.findall(regexp, self._raw)
```
The preprocessing transforms `&lt;` and `&gt;` angle-bracket syntax but does not inspect or reject catastrophically backtracking patterns.</p>
<p>### Proof of Concept
```python
import nltk
import time</p>
<p># Token of 25 'a' characters produces self._raw = "&lt;aaaaaaaaaaaaaaaaaaaaaaaa!&gt;"
# The trailing '!' ensures no match, forcing full backtracking.
text = nltk.Text(["a" * 25 + "!"])</p>
<p># Pattern after transformation:
#   &lt;  →  (?:&lt;(?:
#   &gt;  →  )&gt;)
# Becomes: (?:&lt;(?:((a+)+)b)&gt;)
# re.findall runs this aga…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-rrv8-h7p8-rx55"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/pysec-2026-3750</id>
    <title>PYSEC-2026-3750</title>
    <updated>2026-10-01T00:45:01.227773+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: nltk</p>
<p>NLTK versions before 3.10.0 contain a regular expression denial of service vulnerability in Text.findall() and TokenSearcher.findall() methods that accept user-supplied regular expressions without validation or timeout. Attackers can supply crafted regex patterns that cause catastrophic backtracking, resulting in indefinite CPU saturation and denial of service to all users of the Python process.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/pysec-2026-3750"/>
  </entry>
</feed>
