{"id":"CVE-2026-12252","aliases":["DEBIAN-CVE-2026-12252","GHSA-9r6g-266r-89x4","PYSEC-2026-2085","UBUNTU-CVE-2026-12252"],"summary":"Untrusted JAR Code Execution in Multiple Stanford Interface Classes in nltk/nltk","published_at":"2026-07-04T00:58:58.93Z","modified_at":"2026-10-27T02:16:10Z","products":[],"rating":{"severity":"high","score":7.8,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"local","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.0019499999471008778,"percentile":0.09260000288486481,"date":"2026-11-19T00:00:00Z"},"priority":6.8,"details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"nltk/nltk/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"latest"}]}],"provider":"cvelistv5","source":"CVE-2026-12252","relation":"self"},{"ecosystem":"Debian:12","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.8-1","3.8.1-1","3.9.1-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-12252","relation":"self"},{"ecosystem":"Debian:13","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-12252","relation":"self"},{"ecosystem":"Debian:14","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.3-1"}]}],"versions":["3.10.0-1","3.10.1-1","3.9.1-2","3.9.2-1","3.9.3-1"],"fixed":["3.10.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-12252","relation":"self"},{"ecosystem":"NVD","package":"nltk:nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.9.3"}]}],"provider":"nvd","source":"CVE-2026-12252","relation":"self"},{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9b1"],"fixed":["3.9.4"],"provider":"osv","source":"GHSA-9r6g-266r-89x4","relation":"self"},{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9b1"],"fixed":["3.9.4"],"provider":"osv","source":"PYSEC-2026-2085","relation":"self"},{"ecosystem":"Ubuntu:25.10","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.2-1","3.9.3-1","3.10.0-1","3.10.1-1","3.10.3-1"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy%2Ftrusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0~b9-0ubuntu4","2.0~b9-0ubuntu4.1~esm2","2.0~b9-0ubuntu4.1~esm4","2.0~b9-0ubuntu4.1~esm5","2.0~b9-0ubuntu4.1~esm6"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.4-1","3.0.5-1","3.1-1","3.1-1ubuntu0.1","3.1-1ubuntu0.1+esm1","3.1-1ubuntu0.1+esm2","3.1-1ubuntu0.1+esm3","3.1-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.4-1","3.2.5-1","3.2.5-1ubuntu0.1","3.2.5-1ubuntu0.1+esm1","3.2.5-1ubuntu0.1+esm2","3.2.5-1ubuntu0.1+esm3","3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.5-1","3.4.5-2","3.4.5-2ubuntu0.1~esm1","3.4.5-2ubuntu0.1~esm2","3.4.5-2ubuntu0.1~esm3","3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1","3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1","3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1","3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"openSUSE:Tumbleweed","package":"python-nltk","purl":"pkg:rpm/opensuse/python-nltk&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.3-1.1"}]}],"fixed":["3.10.3-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11587-1","relation":"upstream"}],"product_status":[{"vendor":"SUSE","product":"SUSE Package Hub 15 SP7","status":"fixed","packages":["python311-nltk"],"package_count":1,"fixed":["python311-nltk-3.10.3-bp157.3.24.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-12252"},{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["python313-nltk","python314-nltk"],"package_count":2,"fixed":["python313-nltk-3.10.3-1.1","python314-nltk-3.10.3-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"not_affected","packages":["exploit-intelligence-tech-preview/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"not_affected","packages":["lightspeed-core/lightspeed-stack-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed/lightspeed-ocp-rag-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-25/lightspeed-chatbot-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9","rhoai/odh-trustyai-nemo-guardrails-server-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"}],"records":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11587-1","relation":"upstream","url":"https://www.suse.com/security/cve/CVE-2026-12252/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-24T00:00:00Z","modified_at":"2026-08-24T00:00:00Z","summary":"python313-nltk-3.10.3-1.1 on GA media","details":"python313-nltk-3.10.3-1.1 on GA media\n\nThese are all security issues fixed in the python313-nltk-3.10.3-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[{"type":"SUSE","score":"moderate","source":"openSUSE-SU-2026:11587-1"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_11587-1.json"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-12252/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-71513/"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-12252"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-71513"},{"type":"WEB","url":"https://bugzilla.suse.com/1276253"}]},{"provider":"osv","source_id":"openSUSE-SU-2026:11587-1","relation":"upstream","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11587-1","published_at":"2026-08-24T00:00:00Z","modified_at":"2026-08-26T18:23:38.201931Z","summary":"python313-nltk-3.10.3-1.1 on GA media","details":"These are all security issues fixed in the python313-nltk-3.10.3-1.1 package on the GA media of openSUSE Tumbleweed.","severity":[],"affected":[{"ecosystem":"openSUSE:Tumbleweed","package":"python-nltk","purl":"pkg:rpm/opensuse/python-nltk&distro=openSUSE%20Tumbleweed","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.3-1.1"}]}],"fixed":["3.10.3-1.1"],"provider":"osv","source":"openSUSE-SU-2026:11587-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":""},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-12252"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-71513"}]},{"provider":"cvelistv5","source_id":"CVE-2026-12252","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-12252","license":"CC-BY-4.0","published_at":"2026-07-04T00:58:58.93Z","modified_at":"2026-07-06T18:33:11.411Z","summary":"Untrusted JAR Code Execution in Multiple Stanford Interface Classes in nltk/nltk","details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-12252"}],"affected":[{"ecosystem":"CVE","package":"nltk/nltk/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"latest"}]}],"provider":"cvelistv5","source":"CVE-2026-12252","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"}]},{"provider":"csaf-suse","source_id":"CVE-2026-12252","relation":"self","url":"https://www.suse.com/security/cve/CVE-2026-12252/","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-26T01:20:29Z","modified_at":"2026-10-27T02:16:10Z","summary":"SUSE CVE CVE-2026-12252","details":"SUSE CVE-2026-12252\n\nIn nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"SUSE","score":"important","source":"CVE-2026-12252"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"SUSE Package Hub 15 SP7","status":"fixed","packages":["python311-nltk"],"package_count":1,"fixed":["python311-nltk-3.10.3-bp157.3.24.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-12252"},{"vendor":"SUSE","product":"openSUSE Tumbleweed","cpe":"cpe:/o:opensuse:tumbleweed","status":"fixed","packages":["python313-nltk","python314-nltk"],"package_count":2,"fixed":["python313-nltk-3.10.3-1.1","python314-nltk-3.10.3-1.1"],"advisories":[],"provider":"csaf-suse","source":"CVE-2026-12252"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-12252"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"}]},{"provider":"nvd","source_id":"CVE-2026-12252","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12252","severity":[],"affected":[{"ecosystem":"NVD","package":"nltk:nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.9.3"}]}],"provider":"nvd","source":"CVE-2026-12252","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-12252","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-12252","published_at":"2026-07-04T02:16:23.603Z","modified_at":"2026-10-26T11:47:29.404886Z","details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2026-12252"}],"affected":[{"ecosystem":"Debian:12","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=bookworm","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.8-1","3.8.1-1","3.9.1-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-12252","relation":"self"},{"ecosystem":"Debian:13","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=trixie","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.0-1","3.10.1-1","3.10.3-1","3.9.1-2","3.9.2-1","3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-12252","relation":"self"},{"ecosystem":"Debian:14","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.10.3-1"}]}],"versions":["3.10.0-1","3.10.1-1","3.9.1-2","3.9.2-1","3.9.3-1"],"fixed":["3.10.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-12252","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-12252"}]},{"provider":"osv","source_id":"GHSA-9r6g-266r-89x4","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9r6g-266r-89x4","license":"CC-BY-4.0","published_at":"2026-07-04T03:31:03Z","modified_at":"2026-10-02T18:55:37.071322Z","summary":"NLTK Stanford wrapper classes execute untrusted JAR files without verification","details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GHSA-9r6g-266r-89x4"}],"affected":[{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9b1"],"fixed":["3.9.4"],"provider":"osv","source":"GHSA-9r6g-266r-89x4","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12252"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3743"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/006f4b83d430147b067b81e2cddd226d6fa405c8"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/24777f0cb8c33ed2839d16e0f8169a3c312a6806"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-2085.yaml"},{"type":"WEB","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"}]},{"provider":"osv","source_id":"PYSEC-2026-2085","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-2085","license":"CC-BY-4.0","published_at":"2026-07-04T02:16:23.603Z","modified_at":"2026-10-15T14:45:11.790616Z","details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"PYSEC-2026-2085"}],"affected":[{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.4"}]}],"versions":["0.8","0.9","0.9.3","0.9.4","0.9.5","0.9.6","0.9.7","0.9.8","0.9.9","2.0.1","2.0.1rc1","2.0.1rc2-git","2.0.1rc3","2.0.1rc4","2.0.2","2.0.3","2.0.4","2.0.5","2.0b4","2.0b5","2.0b6","2.0b7","2.0b8","2.0b9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1","3.2","3.2.1","3.2.2","3.2.3","3.2.4","3.2.5","3.3","3.4","3.4.1","3.4.2","3.4.3","3.4.4","3.4.5","3.5","3.5b1","3.6","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.7","3.8","3.8.1","3.9","3.9.1","3.9.2","3.9.3","3.9b1"],"fixed":["3.9.4"],"provider":"osv","source":"PYSEC-2026-2085","relation":"self"}],"product_status":[],"references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9r6g-266r-89x4"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-12252","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-12252","license":"CC-BY-SA-4.0","published_at":"2026-07-04T02:16:00Z","modified_at":"2026-10-17T12:58:04.864683Z","details":"In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept user-controllable JAR paths and execute them via the `java()` function, which invokes `subprocess.Popen()` without integrity verification. This vulnerability is identical to CVE-2026-0848, which was fixed for StanfordSegmenter by adding SHA256 verification. However, the fix was not applied to these additional classes, leaving them susceptible to arbitrary code execution when loading untrusted JAR files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2026-12252"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-12252"}],"affected":[{"ecosystem":"Ubuntu:25.10","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=questing","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:26.10","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=stonking","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.2-1","3.9.3-1","3.10.0-1","3.10.1-1","3.10.3-1"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:14.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-infra-legacy%2Ftrusty","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0~b9-0ubuntu4","2.0~b9-0ubuntu4.1~esm2","2.0~b9-0ubuntu4.1~esm4","2.0~b9-0ubuntu4.1~esm5","2.0~b9-0ubuntu4.1~esm6"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps-legacy%2Fxenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.4-1","3.0.5-1","3.1-1","3.1-1ubuntu0.1","3.1-1ubuntu0.1+esm1","3.1-1ubuntu0.1+esm2","3.1-1ubuntu0.1+esm3","3.1-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fbionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.4-1","3.2.5-1","3.2.5-1ubuntu0.1","3.2.5-1ubuntu0.1+esm1","3.2.5-1ubuntu0.1+esm2","3.2.5-1ubuntu0.1+esm3","3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Ffocal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.5-1","3.4.5-2","3.4.5-2ubuntu0.1~esm1","3.4.5-2ubuntu0.1~esm2","3.4.5-2ubuntu0.1~esm3","3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fjammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1","3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fnoble","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1","3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nltk","purl":"pkg:deb/ubuntu/nltk?arch=source&distro=esm-apps%2Fresolute","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1","3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-12252","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12252"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-12252"},{"type":"REPORT","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"}]},{"provider":"redhat-vex","source_id":"CVE-2026-12252","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-12252","license":"CC-BY-4.0","published_at":"2026-07-04T00:58:58.93Z","modified_at":"2026-08-31T10:39:57Z","summary":"nltk: nltk: Arbitrary Code Execution via Untrusted JAR File Loading","details":"A flaw was found in the `nltk` library. Several Stanford interface classes within `nltk` are susceptible to arbitrary code execution. This vulnerability allows a local attacker to execute malicious code by providing an untrusted Java Archive (JAR) file, as the system lacks integrity verification for these files.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-12252"},{"type":"Red Hat","score":"Important","source":"CVE-2026-12252"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Exploit Intelligence","cpe":"cpe:/a:redhat:exploit_intelligence:0","status":"not_affected","packages":["exploit-intelligence-tech-preview/vulnerability-analysis-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Lightspeed Core","cpe":"cpe:/a:redhat:lightspeed_core","status":"not_affected","packages":["lightspeed-core/lightspeed-stack-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"affected","packages":["openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"OpenShift Lightspeed","cpe":"cpe:/a:redhat:openshift_lightspeed:1","status":"not_affected","packages":["openshift-lightspeed/lightspeed-ocp-rag-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","cpe":"cpe:/a:redhat:ansible_automation_platform:2","status":"not_affected","packages":["ansible-automation-platform-25/lightspeed-chatbot-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-llama-stack-core-rhel9","rhoai/odh-pipeline-runtime-pytorch-llmcompressor-cuda-py312-rhel9","rhoai/odh-ta-lmes-job-rhel9","rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9","rhoai/odh-trustyai-nemo-guardrails-server-rhel9","rhoai/odh-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-12252"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12252.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-12252"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2496984"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-12252"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12252"},{"type":"WEB","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"}]}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/f5c93982-0cc9-4e2e-bb85-1b6ab29a2efb"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2026-12252"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-12252"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12252"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3743"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/006f4b83d430147b067b81e2cddd226d6fa405c8"},{"type":"WEB","url":"https://github.com/nltk/nltk/commit/24777f0cb8c33ed2839d16e0f8169a3c312a6806"},{"type":"PACKAGE","url":"https://github.com/nltk/nltk"},{"type":"WEB","url":"https://github.com/nltk/nltk/releases/tag/v3.10.3"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-2085.yaml"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-9r6g-266r-89x4"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12252"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-12252"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-12252.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-12252"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2496984"}],"sources":[{"provider":"csaf-suse","source_id":"openSUSE-SU-2026:11587-1","url":"https://www.suse.com/security/cve/CVE-2026-12252/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-08-24T00:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"openSUSE-SU-2026:11587-1","url":"https://osv.dev/vulnerability/openSUSE-SU-2026:11587-1","modified_at":"2026-08-26T18:23:38.201931Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-12252","url":"https://www.cve.org/CVERecord?id=CVE-2026-12252","license":"CC-BY-4.0","modified_at":"2026-07-06T18:33:11.411Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2026-12252","url":"https://www.suse.com/security/cve/CVE-2026-12252/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-10-27T02:16:10Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-12252","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12252","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-12252","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-12252","modified_at":"2026-10-26T11:47:29.404886Z","relation":"self"},{"provider":"osv","source_id":"GHSA-9r6g-266r-89x4","url":"https://osv.dev/vulnerability/GHSA-9r6g-266r-89x4","license":"CC-BY-4.0","modified_at":"2026-10-02T18:55:37.071322Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-2085","url":"https://osv.dev/vulnerability/PYSEC-2026-2085","license":"CC-BY-4.0","modified_at":"2026-10-15T14:45:11.790616Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-12252","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-12252","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:58:04.864683Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-12252","url":"https://access.redhat.com/security/cve/CVE-2026-12252","license":"CC-BY-4.0","modified_at":"2026-08-31T10:39:57Z","relation":"self"}]}
