8.7

CVE-2026-81722: nltk Inefficient Algorithmic Complexity

CVSS: 8.7v4.0HighAnalyzed
AliasesGHSA-ww6m-cw3f-q94gPYSEC-2026-3738UBUNTU-CVE-2026-81722
Published 27-08-2026Last modified 27-08-2026

Vulnerability summary

CVE-2026-81722 is a high (CVSS 8.7) Inefficient Algorithmic Complexity vulnerability in nltk. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
45/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.52%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 1 · Downstream 0 · Related 1

Timeline

  1. 27-08-2026
    PublishedVulnerability first disclosed.
  2. 27-08-2026
    Last modifiedVulnerability information updated.

Description

nltk PorterStemmer in versions <= 3.10.2 (fixed in 3.10.3) contains an inefficient-algorithmic-complexity denial of service in PorterStemmer.stem(). The _is_consonant() helper walks backward over the entire run of trailing 'y' characters on every call, and _measure() invokes it for each stem position, causing O(n^2) behavior. A single ~20-50 KB untrusted token consisting of a long run of the letter 'y' followed by a matching suffix (e.g., 'ness') can pin a CPU core for seconds to minutes, causing availability impact.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.52%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

+0.16 pp

From 0.36% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.52%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Nltk

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard2 products
  • nemo< 2.7.3-r27
  • open-webui< 0.11.3-r1
Debian1 product
  • nltkAll versions (No fix recorded) | < 3.10.3-1
Nltk1 product
PyPI1 product
  • nltk< 3.10.3
Ubuntu1 product
  • nltkAll versions (No fix recorded)
Wolfi1 product
  • open-webui< 0.11.3-r1

6 vendors · 7 products

References

11 links
Show all 11 references