Staging Environment: Content and features may be unstable or change without notice.
Advisory details: gitlab / pypi/nltk/CVE-2026-81725
Advisory ID gitlab/pypi/nltk/CVE-2026-81725
Aliases CVE-2026-81725
GHSA-8mpw-7fpc-4gqj
Summary NLTK: Pl196xCorpusReader has quadratic ReDoS on malformed TEI blocks `Pl196xCorpusReader` still parses whole TEI blocks with multiple lazy regexes over attacker-controlled text. A malformed file with many opening tags and no matching closing tags forces repeated rescans and produces quadratic CPU growth in public reader APIs.
Status Published
Exploitability 0.5
Weighted Severity 0.0
Risk
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (4)
No exploits are available.

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L Found at https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/nltk/CVE-2026-81725.yml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

There are no SSVC decisions available.