Skip to content

CVE-2026-129228 NLTK: Uncontrolled recursion in Toolbox settings helpers causes denial of service via deeply nested input

MediumCVSS 5.3 EPSS 0.47%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Red Hat

Description

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, ToolboxSettings.parse builds a deeply nested attacker-controlled settings tree iteratively, but the later public helpers to_settings_string, remove_blanks, add_default_fields, sort_fields, and add_blank_lines recursively traverse that tree without a depth bound. Invoking any of those helpers on input nested beyond the interpreter recursion limit can raise RecursionError and abort the operation or request worker. This issue is fixed in version 3.10.4.

Upgrade path

18 packages: 1 fixed, 16 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/lightspeed-core/lightspeed-stack-rhel9(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat lightspeed_core) All versions No fix listed No fix yet
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat openshift_lightspeed 1) All versions No fix listed No fix yet
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat openshift_lightspeed 2) All versions No fix listed No fix yet
redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat openshift_lightspeed 1) All versions No fix listed No fix yet
redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat openshift_lightspeed 1) All versions No fix listed No fix yet
redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat openshift_lightspeed 2) All versions No fix listed No fix yet
redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-ogx-core-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-ta-lmes-job-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-trustyai-nemo-guardrails-server-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
pypi nltk(PyPI) < 3.10.4; <= 3.10.3; = 0.8; = 0.9 +67 more 3.10.4 Fixed
nltk = < 3.10.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
nltk = < 3.10.4 No fix listed
pypi nltk(PyPI) <= 3.10.3 No fix listed
pypi nltk(PyPI) < 3.10.4 3.10.4
pypi nltk(PyPI) = 0.8 No fix listed
pypi nltk(PyPI) = 0.9 No fix listed
pypi nltk(PyPI) = 0.9.3 No fix listed
pypi nltk(PyPI) = 0.9.4 No fix listed
pypi nltk(PyPI) = 0.9.5 No fix listed
pypi nltk(PyPI) = 0.9.6 No fix listed
pypi nltk(PyPI) = 0.9.7 No fix listed
pypi nltk(PyPI) = 0.9.8 No fix listed
pypi nltk(PyPI) = 0.9.9 No fix listed
pypi nltk(PyPI) = 2.0.1 No fix listed
pypi nltk(PyPI) = 2.0.1rc1 No fix listed
pypi nltk(PyPI) = 2.0.1rc2-git No fix listed
pypi nltk(PyPI) = 2.0.1rc3 No fix listed
pypi nltk(PyPI) = 2.0.1rc4 No fix listed
pypi nltk(PyPI) = 2.0.2 No fix listed
pypi nltk(PyPI) = 2.0.3 No fix listed
pypi nltk(PyPI) = 2.0.4 No fix listed
pypi nltk(PyPI) = 2.0.5 No fix listed
pypi nltk(PyPI) = 2.0b4 No fix listed
pypi nltk(PyPI) = 2.0b5 No fix listed
pypi nltk(PyPI) = 2.0b6 No fix listed
pypi nltk(PyPI) = 2.0b7 No fix listed
Show 63 more
ProductAffected versionsFixed in
pypi nltk(PyPI) = 2.0b8 No fix listed
pypi nltk(PyPI) = 2.0b9 No fix listed
pypi nltk(PyPI) = 3.0.0 No fix listed
pypi nltk(PyPI) = 3.0.0b1 No fix listed
pypi nltk(PyPI) = 3.0.0b2 No fix listed
pypi nltk(PyPI) = 3.0.1 No fix listed
pypi nltk(PyPI) = 3.0.2 No fix listed
pypi nltk(PyPI) = 3.0.3 No fix listed
pypi nltk(PyPI) = 3.0.4 No fix listed
pypi nltk(PyPI) = 3.0.5 No fix listed
pypi nltk(PyPI) = 3.1 No fix listed
pypi nltk(PyPI) = 3.10.0 No fix listed
pypi nltk(PyPI) = 3.10.1 No fix listed
pypi nltk(PyPI) = 3.10.2 No fix listed
pypi nltk(PyPI) = 3.10.3 No fix listed
pypi nltk(PyPI) = 3.2 No fix listed
pypi nltk(PyPI) = 3.2.1 No fix listed
pypi nltk(PyPI) = 3.2.2 No fix listed
pypi nltk(PyPI) = 3.2.3 No fix listed
pypi nltk(PyPI) = 3.2.4 No fix listed
pypi nltk(PyPI) = 3.2.5 No fix listed
pypi nltk(PyPI) = 3.3 No fix listed
pypi nltk(PyPI) = 3.4 No fix listed
pypi nltk(PyPI) = 3.4.1 No fix listed
pypi nltk(PyPI) = 3.4.2 No fix listed
pypi nltk(PyPI) = 3.4.3 No fix listed
pypi nltk(PyPI) = 3.4.4 No fix listed
pypi nltk(PyPI) = 3.4.5 No fix listed
pypi nltk(PyPI) = 3.5 No fix listed
pypi nltk(PyPI) = 3.5b1 No fix listed
pypi nltk(PyPI) = 3.6 No fix listed
pypi nltk(PyPI) = 3.6.1 No fix listed
pypi nltk(PyPI) = 3.6.2 No fix listed
pypi nltk(PyPI) = 3.6.3 No fix listed
pypi nltk(PyPI) = 3.6.4 No fix listed
pypi nltk(PyPI) = 3.6.5 No fix listed
pypi nltk(PyPI) = 3.6.6 No fix listed
pypi nltk(PyPI) = 3.6.7 No fix listed
pypi nltk(PyPI) = 3.7 No fix listed
pypi nltk(PyPI) = 3.8 No fix listed
pypi nltk(PyPI) = 3.8.1 No fix listed
pypi nltk(PyPI) = 3.9 No fix listed
pypi nltk(PyPI) = 3.9.1 No fix listed
pypi nltk(PyPI) = 3.9.2 No fix listed
pypi nltk(PyPI) = 3.9.3 No fix listed
pypi nltk(PyPI) = 3.9.4 No fix listed
pypi nltk(PyPI) = 3.9b1 No fix listed
redhat/lightspeed-core/lightspeed-stack-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/lightspeed-core/rag-tool-cpu-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/lightspeed-core/rag-tool-cuda-12.9-rhel9(Red Hat:lightspeed_core) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-ocp-rag-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat:openshift_lightspeed:1) All versions No fix listed
redhat/openshift-lightspeed/lightspeed-service-api-rhel9(Red Hat:openshift_lightspeed:2) All versions No fix listed
redhat/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9(Red Hat:openshift_lightspeed:2) All versions No fix listed
redhat/ansible-automation-platform-25/lightspeed-chatbot-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/rhoai/odh-llama-stack-core-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-ogx-core-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-ta-lmes-job-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-trustyai-nemo-guardrails-server-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed

References