Security mailing lists by PureSourceCode

CVE-2026-129224

MEDIUM 5.3CVSS 3.1

NLTK: Uncontrolled recursion in CCG lexicon parser causes denial of service via deeply nested category input

NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. Prior to 3.10.4, the CCG lexicon parser's matchBrackets and augParseCategory functions recursively process nested parenthesized categories without a depth bound. An attacker-controlled lexicon string with excessive nesting can raise RecursionError through nltk.ccg.lexicon.fromstring and terminate the parse operation or request worker. This issue is fixed in version 3.10.4.

Published
19 Nov 2026
Last modified
20 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-674
Also known as
GHSA-3h95-x772-4765
Sources
NVDJSONCVE ListJSONOSV GHSA-3h95-x772-4765JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVE List GitHub_M CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List nltk nltk = < 3.10.4
OSV PyPI nltk < 3.10.4 3.10.4

References

History

  • 25 Nov 2026 20:31 UTC · CVE List: first stored (published 19 Nov 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 19 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.