Skip to main content
← All vulnerabilities
CVE-2026-81725GHSA-8MPW-7FPC-4GQJPYSEC-2026-3752

NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.10.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

NLTK before 3.10.3 contains a regular expression denial of service vulnerability in Pl196xCorpusReader that allows attackers to cause quadratic CPU consumption by supplying malformed TEI blocks with many unmatched opening tags. Attackers can exploit lazy regex patterns in the read_block method through public APIs like words() and tagged_words() to force repeated rescans and achieve near-quadratic runtime growth.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nltk nltk

    fixed in 3.10.3

  • nltkPyPI

    fixed in 3.10.3

References 2

GitHub · nltk/nltk

vulncheck.com