CVE-2026-129230
A malformed WordNet hierarchy could interrupt NLTK semantic analysis
NLTK project · Natural Language Toolkit · WordNet hypernym traversal
First documented disclosure · Review checkpoint
Summary
A cyclic or deep lexical hierarchy could halt NLTK while it computed relationships between word meanings.
Severity and exploitation evidence
Medium · 5.5/10 · CVSS 3.1. Severity source.
Exploitation not established: The NLTK advisory describes the vulnerability and its preconditions. The reviewed sources identify no malicious use.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The affected hypernym methods recursed without tracking cycles or limiting depth.
Conditions required
An application loads an externally supplied WordNet hierarchy and queries its hypernyms.
Potential impact
The traversal could overflow Python’s call stack and interrupt the worker.
Affected versions and configurations
<= 3.10.3
Fix and mitigation status
3.10.4.
Practical next steps
Upgrade to NLTK 3.10.4 or a later fixed release.
Operating lesson
Validate imported lexical graphs and bound relation walks.
Evidence and limits
The issue-specific patch was public by 2026-09-15. The fixed release shipped October 21. The November 15 maintainer advisory supplies the identifier and affected versions. This is a historical addition.
Sources
- NLTK public patch for WordNet hypernym traversal
Primary source ·
- NLTK 3.10.4 release notes
Primary source ·
- NLTK advisory GHSA-53pg-5qp8-mhvr
Primary source ·