Shellfeed logo Shellfeed

CVE-2026-126299 · HIGH (CVSS 7.5)

Summary: NLTK before 3.10.4 Quadratic-Time Denial of Service via CCG Lexicon fromstring

EPSS: 0.6% probability of exploitation in the next 30 days (percentile 48.1).

Details

NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs. Attackers can submit lexicon text with long flat bracket bodies or operator chains, triggering quadratic string re-slicing in matchBrackets and augParseCategory that blocks worker threads.

Severity

HIGH (CVSS 7.5) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

  • PyPI nltk [0 – 3.10.4]
  • GIT github.com/nltk/nltk [0 – 5c41fc04a45e95577a83f3914acda211a994be00]

References

Posts about CVE-2026-126299