Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-78681— NLTK before 3.10.3 Entity Expansion DoS via ElementTree

Quick assessment

Affected
nltk nltk
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

NLTK 在 3.10.3 版本之前的多个模块中使用 xml.etree.ElementTree 来解析 XML,该解析器会处理文档 DTD 中声明的实体。攻击者可以构造包含嵌套实体声明的 XML 有效载荷,这些实体在内存中从数百字节膨胀至数兆字节,从而导致拒绝服务(DoS)攻击。

CVSS 7.5 · High EPSS 0.28% · P20

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-78681

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
NLTK before 3.10.3 Entity Expansion DoS via ElementTree
Source: CVE Program / CVE List V5
Vulnerability Description
NLTK versions before 3.10.3 use xml.etree.ElementTree to parse XML in multiple modules, which honors entity declarations in document DTDs. Attackers can craft XML payloads with nested entity declarations that expand from hundreds of bytes to megabytes in memory, causing denial of service.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
DTD中递归实体索引的不恰当限制(XML实体扩展)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
nltk nltk 0 ~ 3.10.3 -

II. Public POCs for CVE-2026-78681

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 6859 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-78681

登录查看更多情报信息。

Vendor Advisories for CVE-2026-78681 (2)

Same Patch Batch · nltk · 2026-08-25 · 8 CVEs total

CVE-2026-79657 9.8 CRITICAL NLTK before 3.10.3 Remote Code Execution via Unsafe Pickle Deserialization
CVE-2026-79675 9.8 CRITICAL NLTK before 3.10.3 JVM Argument Injection via Per-Call Options
CVE-2026-78683 9.6 CRITICAL NLTK before 3.10.0 Remote Code Execution via Unsafe Pickle Deserialization
CVE-2026-79674 8.2 HIGH NLTK 3.10.2 Path Traversal via corpus-reader constructors
CVE-2026-78680 7.8 HIGH NLTK before 3.10.3 Arbitrary Code Execution via Graphviz dot Binary
CVE-2026-78682 7.5 HIGH NLTK before 3.10.3 SSRF Protection Bypass via Proxy
CVE-2026-79676 5.9 MEDIUM NLTK before 3.10.3 Path Traversal via Symlink Bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-78681

No comments yet


Leave a comment