Bug 2528007 - CVE-2026-81725 python-nltk: NLTK: Regular Expression Denial of Service via malformed TEI blocks [fedora-all]
Summary: CVE-2026-81725 python-nltk: NLTK: Regular Expression Denial of Service via ma...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nltk
Version: rawhide
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: José Matos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["9aeedcdb-8448-4428-9f9e-c...
Depends On:
Blocks: CVE-2026-81725
TreeView+ depends on / blocked
 
Reported: 2026-09-03 12:52 UTC by Ganesh
Modified: 2026-09-03 12:52 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Ganesh 2026-09-03 12:52:12 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.