NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by su

PYSEC-2026-3724
HIGH 8.7OSV

At a glance

Source
OSV
Published
Updated
CVE
CVE-2026-66393
Aliases
GHSA-rf74-v2fm-23pw
CVSS_V4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE severity
HIGH 8.7 · CVE-2026-66393

Description

NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by supplying deeply nested JSON structures. Attackers can craft JSON payloads exceeding the recursion limit to trigger an unhandled RecursionError that crashes the Python process.

References

Affected packages

PackageVersions
PyPI · nltkintroduced 0, fixed 3.9.4

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database