Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2026-81725

nltk: NLTK: Regular Expression Denial of Service via malformed TEI blocks

Overview

Published
27 Aug 2026
Modified
1 Sep 2026
Medium CVE
1 Registry packages
2 OS packages
3 Linux distributions
Yes Fix available

Description

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.

Source: OX vulnerability database

Severity

3.7 · MEDIUM

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Weakness: CWE-400

Affected packages · 1

Packages affected by CVE-2026-81725
EcosystemPackageVulnerableFixed in
PyPI nltk <3.10.3 3.10.3

Open a package to see all its vulnerabilities.

Operating systems · 6 fixes

debian 4 releases · 1 package

affected 3 fixed 1
nltk
debian fixes for CVE-2026-81725
ReleasePackageFixed in
11 nltk affected
12 nltk affected
13 nltk affected
14 nltk 3.10.3-1

echo 1 release · 1 package

affected 1
nltk
echo fixes for CVE-2026-81725
ReleasePackageFixed in
nltk affected

minimos 1 release · 1 package

fixed 1
label-studio
minimos fixes for CVE-2026-81725
ReleasePackageFixed in
label-studio 1.23.1-r0

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.