A AegiFlow
MEDIUMCVSS 6.3EPSS 0.2%

CVE-2026-81725

CVE-2026-81725 updated by NVD

Published
2026-09-08
Modified
2026-09-08
EPSS percentile
14%
Sources
github-advisory, nvd

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPInltk3.10.3

Remediation: Upgrade to 3.10.3 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.