Advisory

PYSEC-2026-3750

Also known as: CVE-2026-80205, GHSA-rrv8-h7p8-rx55

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-26 11:16 UTC
Modified
2026-09-02 09:00 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 0, fixed 3.10.0 (ecosystem)

Fixed versions

3.10.0

Fix

  • Fixed version 3.10.0
    pip install --upgrade nltk==3.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences