CVE-2026-126301

Description

A flaw was found in nltk. A remote attacker can cause a Denial of Service (DoS) by submitting specially crafted text containing long sequences of vowels to the LegalitySyllableTokenizer component. Processing this input triggers an inefficient calculation loop that consumes excessive CPU resources, leading to service degradation or unresponsiveness.

Statement

This vulnerability is rated as having a Moderate impact because exploitation causes resource exhaustion leading only to denial of service, with no compromise of system confidentiality or integrity. Standard natural language processing workflows in Red Hat environments do not invoke the LegalitySyllableTokenizer class by default, restricting risk to custom applications that specifically route untrusted input to this syllable tokenizer. Even when triggered, CPU consumption is confined to the active worker process and does not grant elevated privileges.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.3N/A5.3
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactLowN/ALow

Vector

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

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU)

Frequently Asked Questions

Want to get errata notifications? Sign up here.