← News

Nltk: Remote denial of service

HighAI-generated2026-11-15

CVE
CVE-2026-126297
Severity
High (CVSS 7.5)
Attack conditions
Remotely, over the network · No account needed · No user action needed
Exploitation probability (EPSS)
0.5% (within 30 days; FIRST EPSS, 18 November 2026)

Summary

NLTK versions prior to 3.10.4 are vulnerable to a denial-of-service flaw that lets attackers exhaust CPU resources with a specially crafted CoNLL SRL corpus.

Details

According to the NVD record, NLTK before version 3.10.4 contains a quadratic-time denial-of-service vulnerability in the function ConllCorpusReader._get_srl_instances. The flaw can be triggered by providing a crafted CoNLL SRL corpus that includes many predicates and span columns, with the head span placed last.

An attacker who supplies such a malicious corpus can cause the library to consume excessive CPU cycles, potentially hanging the application for minutes and disrupting service.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 13 November 2026 NVD record published
  • 15 November 2026 This article was written