PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-129224 nltk CVE debrief

This PatchSiren debrief summarizes CVE-2026-129224, an uncontrolled recursion vulnerability in the NLTK library's CCG lexicon parser. The issue can cause a denial-of-service (DoS) via deeply nested category input. Affected versions are before 3.10.4, and the issue is fixed in version 3.10.4. The vulnerability has a medium severity and can be exploited through attacker-controlled lexicon strings with excessive nesting, potentially leading to a RecursionError and termination of the parse operation or request worker. Defenders should assess exposure and prioritize upgrading to version 3.10.4 or later.

Vendor
nltk
Product
Unknown
CVSS
MEDIUM 5.3
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-19
Original CVE updated
2026-11-19
Advisory published
2026-11-19
Advisory updated
2026-11-19

Who should care

Defenders responsible for NLTK applications, especially those using versions prior to 3.10.4, should assess exposure and prioritize upgrading to version 3.10.4 or later. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify and potentially upgrade NLTK versions to prevent potential DoS attacks.

Why it matters

CVE-2026-129224 is a medium-severity vulnerability in NLTK's CCG lexicon parser. Defenders should prioritize verifying and upgrading to version 3.10.4 or later if using NLTK versions prior to 3.10.4 to prevent potential DoS attacks.

  • Potential denial-of-service (DoS) via deeply nested category input
  • Need to verify and upgrade NLTK versions to prevent exploitation
  • Possible impact on NLTK applications and services using vulnerable versions

Technical summary

The NLTK library's CCG lexicon parser has an uncontrolled recursion vulnerability. The matchBrackets and augParseCategory functions recursively process nested parenthesized categories without a depth bound. An attacker-controlled lexicon string with excessive nesting can raise a RecursionError and terminate the parse operation or request worker. The vulnerability has a medium severity and can be exploited through attacker-controlled lexicon strings with excessive nesting, potentially leading to a RecursionError and termination of the parse operation or request worker.

Defensive priority

Defenders should prioritize verifying and upgrading to version 3.10.4 or later if using NLTK versions prior to 3.10.4.

Recommended defensive actions

  • Verify NLTK version and upgrade to 3.10.4 or later if necessary
  • Review and limit deeply nested category input to the CCG lexicon parser
  • Monitor for potential DoS attacks targeting NLTK applications
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review

Evidence notes

The CVE record and source item provide details on the vulnerability, affected versions, and fixed version. However, there is limited information on potential exploitation or victim impact. Defenders should verify NLTK versions, review and limit deeply nested category input, and monitor for potential DoS attacks targeting NLTK applications. The vulnerability's source-confidence limits and review context indicate a need for cautious evaluation and upgrade.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-129224 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-129224

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-129224 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-129224

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested ca

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/129xxx/CVE-2026-129224.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nltk/nltk/security/advisories/GHSA-3h95-x772-4765

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nltk/nltk/pull/3885

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nltk/nltk/commit/30e93eb7b69021293e019042fe0cedb99c95b054

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/nltk/nltk/releases/tag/v3.10.4

    Supplemental source - x_refsource_MISC

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.