Bug 2525094 (CVE-2026-81725) - CVE-2026-81725 nltk: NLTK: Regular Expression Denial of Service via malformed TEI blocks
Summary: CVE-2026-81725 nltk: NLTK: Regular Expression Denial of Service via malformed...
Keywords:
Status: NEW
Alias: CVE-2026-81725
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2528006 2528007
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-27 16:59 UTC by OSIDB Bzimport
Modified: 2026-09-03 17:54 UTC (History)
19 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-27 16:59:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.