---
title: "CVE-2026-126298"
canonical_url: "https://pkgseek.com/security/CVE-2026-126298"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "unknown"
---

# CVE-2026-126298

NLTK before 3.10.4 contains a denial of service vulnerability in Tree.chomsky_normal_form that allows remote attackers to exhaust CPU through quadratic-time right-factor binarization using list.pop(0). Attackers can supply a wide flat treebank tree parsed by Tree.fromstring to force tens of seconds of single-threaded CPU consumption, blocking the processing thread.

CVE-2026-126298 is rated UNKNOWN, with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: UNKNOWN
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: None recorded in sample

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | python3-nltk | 3.9.1-2 | — |
