Advisory

PYSEC-2026-3724

Also known as: CVE-2026-66393, GHSA-rf74-v2fm-23pw

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-08-22 15:16 UTC
Modified
2026-08-28 02:30 UTC

Affected packages and fixes

nltk

PyPI · All systems

Affected

  • introduced 0, fixed 3.9.4 (ecosystem)

Fixed versions

3.9.4

Fix

  • Fixed version 3.9.4
    pip install --upgrade nltk==3.9.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences