{"id":"CVE-2026-0848","aliases":["DEBIAN-CVE-2026-0848","PYSEC-2026-99","UBUNTU-CVE-2026-0848"],"summary":"Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading","published_at":"2026-03-05T20:48:05.364Z","modified_at":"2026-10-17T12:57:50.145302Z","products":[],"rating":{"severity":"critical","score":10,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.008410000242292881,"percentile":0.5865200161933899,"date":"2026-11-19T00:00:00Z"},"priority":12,"details":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"nltk/nltk/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"latest"}]}],"provider":"cvelistv5","source":"CVE-2026-0848","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-0848","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-0848","relation":"self"},{"ecosystem":"Debian:14","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.3-1"}]}],"versions":["3.9.1-2","3.9.2-1"],"fixed":["3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-0848","relation":"self"},{"ecosystem":"NVD","package":"nltk:nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.9.2"}]}],"provider":"nvd","source":"CVE-2026-0848","relation":"self"},{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.3"}]}],"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.9b1"],"fixed":["3.9.3"],"provider":"osv","source":"PYSEC-2026-99","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-0848","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-0848","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"},{"fixed":"2.0~b9-0ubuntu4.1~esm6"}]}],"versions":["2.0~b9-0ubuntu4","2.0~b9-0ubuntu4.1~esm2","2.0~b9-0ubuntu4.1~esm4","2.0~b9-0ubuntu4.1~esm5"],"fixed":["2.0~b9-0ubuntu4.1~esm6"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.1-1ubuntu0.1+esm4"}]}],"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"],"fixed":["3.1-1ubuntu0.1+esm4"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.2.5-1ubuntu0.1+esm4"}]}],"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"],"fixed":["3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.2.5-1ubuntu0.1+esm4"}]}],"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"],"fixed":["3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.4.5-2ubuntu0.1~esm4"}]}],"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"],"fixed":["3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.4.5-2ubuntu0.1~esm4"}]}],"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"],"fixed":["3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.7-1ubuntu0.1~esm2"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1"],"fixed":["3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.7-1ubuntu0.1~esm2"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1"],"fixed":["3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.8.1-1ubuntu0.1~esm2"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1"],"fixed":["3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.8.1-1ubuntu0.1~esm2"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1"],"fixed":["3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.9.2-1ubuntu0.1~esm2"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1"],"fixed":["3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.9.2-1ubuntu0.1~esm2"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1"],"fixed":["3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"USN-8302-1","relation":"upstream"}],"product_status":[{"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-0848"},{"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","openshift-lightspeed/lightspeed-ocp-rag-rhel9","openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-0848"},{"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-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-0848"}],"records":[{"provider":"osv","source_id":"USN-8302-1","relation":"upstream","url":"https://osv.dev/vulnerability/USN-8302-1","license":"CC-BY-SA-4.0","published_at":"2026-05-25T15:53:15Z","modified_at":"2026-06-30T18:16:27.29451Z","summary":"nltk vulnerabilities","details":"It was discovered that NLTK incorrectly validated file paths when\nopening files using the nltk.util module. An attacker could possibly\nuse this issue to obtain sensitive information. (CVE-2026-0846)\n\nIt was discovered that NLTK incorrectly validated file paths in\nmultiple CorpusReader classes. An attacker could possibly use\nthis issue to obtain sensitive information. (CVE-2026-0847)\n\nIt was discovered that NLTK did not properly validate external\nJava archive files loaded by StanfordSegmenter. An attacker\ncould possibly use this issue to execute arbitrary code. This\nissue only affected Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu\n22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS.\n(CVE-2026-0848)\n\nIt was discovered that NLTK's WordNet browser application\nincorrectly handled user-supplied input. An attacker could\npossibly use this issue to perform a cross-site scripting\nattack. (CVE-2026-33230)\n\nIt was discovered that NLTK's WordNet browser application did\nnot restrict access to the shutdown endpoint. A remote attacker\ncould possibly use this issue to cause a denial of service.\n(CVE-2026-33231)\n\nIt was discovered that NLTK's downloader did not validate path\nattributes in remote XML index files. An attacker could possibly\nuse this issue to create or overwrite arbitrary files.\n(CVE-2026-33236)","severity":[],"affected":[{"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"},{"fixed":"2.0~b9-0ubuntu4.1~esm6"}]}],"versions":["2.0~b9-0ubuntu4","2.0~b9-0ubuntu4.1~esm2","2.0~b9-0ubuntu4.1~esm4","2.0~b9-0ubuntu4.1~esm5"],"fixed":["2.0~b9-0ubuntu4.1~esm6"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.1-1ubuntu0.1+esm4"}]}],"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"],"fixed":["3.1-1ubuntu0.1+esm4"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.2.5-1ubuntu0.1+esm4"}]}],"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"],"fixed":["3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.4.5-2ubuntu0.1~esm4"}]}],"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"],"fixed":["3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.7-1ubuntu0.1~esm2"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1"],"fixed":["3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.8.1-1ubuntu0.1~esm2"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1"],"fixed":["3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"USN-8302-1","relation":"upstream"},{"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"},{"fixed":"3.9.2-1ubuntu0.1~esm2"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1"],"fixed":["3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"USN-8302-1","relation":"upstream"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8302-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0846"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0847"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0848"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33230"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33231"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-33236"}]},{"provider":"cvelistv5","source_id":"CVE-2026-0848","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-0848","license":"CC-BY-4.0","published_at":"2026-03-05T20:48:05.364Z","modified_at":"2026-03-06T16:31:01.105Z","summary":"Arbitrary Code Execution in NLTK StanfordSegmenter via Untrusted JAR Loading","details":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"CVE-2026-0848"}],"affected":[{"ecosystem":"CVE","package":"nltk/nltk/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"latest"}]}],"provider":"cvelistv5","source":"CVE-2026-0848","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"}]},{"provider":"nvd","source_id":"CVE-2026-0848","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0848","severity":[],"affected":[{"ecosystem":"NVD","package":"nltk:nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.9.2"}]}],"provider":"nvd","source":"CVE-2026-0848","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-0848","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-0848","published_at":"2026-03-05T21:16:14.263Z","modified_at":"2026-10-01T03:00:18.09069Z","details":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"DEBIAN-CVE-2026-0848"}],"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-0848","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-0848","relation":"self"},{"ecosystem":"Debian:14","package":"nltk","purl":"pkg:deb/debian/nltk?arch=source&distro=forky","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.3-1"}]}],"versions":["3.9.1-2","3.9.2-1"],"fixed":["3.9.3-1"],"provider":"osv","source":"DEBIAN-CVE-2026-0848","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-0848"}]},{"provider":"osv","source_id":"PYSEC-2026-99","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-99","license":"CC-BY-4.0","published_at":"2026-03-05T21:16:14.263Z","modified_at":"2026-05-20T09:19:09.284207Z","details":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"PYSEC-2026-99"}],"affected":[{"ecosystem":"PyPI","package":"nltk","purl":"pkg:pypi/nltk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.3"}]}],"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.9b1"],"fixed":["3.9.3"],"provider":"osv","source":"PYSEC-2026-99","relation":"self"}],"product_status":[],"references":[{"type":"EVIDENCE","url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-0848","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-0848","license":"CC-BY-SA-4.0","published_at":"2026-03-05T21:16:00Z","modified_at":"2026-10-17T12:57:50.145302Z","details":"NLTK versions <=3.9.2 are vulnerable to arbitrary code execution due to improper input validation in the StanfordSegmenter module. The module dynamically loads external Java .jar files without verification or sandboxing. An attacker can supply or replace the JAR file, enabling the execution of arbitrary Java bytecode at import time. This vulnerability can be exploited through methods such as model poisoning, MITM attacks, or dependency poisoning, leading to remote code execution. The issue arises from the direct execution of the JAR file via subprocess with unvalidated classpath input, allowing malicious classes to execute when loaded by the JVM.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"UBUNTU-CVE-2026-0848"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-0848"}],"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-0848","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-0848","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"},{"fixed":"3.2.5-1ubuntu0.1+esm4"}]}],"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"],"fixed":["3.2.5-1ubuntu0.1+esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.4.5-2ubuntu0.1~esm4"}]}],"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"],"fixed":["3.4.5-2ubuntu0.1~esm4"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.7-1ubuntu0.1~esm2"}]}],"versions":["3.5-1","3.6.5-1","3.6.7-1","3.7-1","3.7-1ubuntu0.1~esm1"],"fixed":["3.7-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.8.1-1ubuntu0.1~esm2"}]}],"versions":["3.8.1-1","3.8.1-1ubuntu0.1~esm1"],"fixed":["3.8.1-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","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"},{"fixed":"3.9.2-1ubuntu0.1~esm2"}]}],"versions":["3.9.1-2","3.9.1-2build1","3.9.2-1","3.9.2-1ubuntu0.1~esm1"],"fixed":["3.9.2-1ubuntu0.1~esm2"],"provider":"osv","source":"UBUNTU-CVE-2026-0848","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0848"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-0848"},{"type":"REPORT","url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"},{"type":"REPORT","url":"https://github.com/nltk/nltk/pull/3477"},{"type":"REPORT","url":"https://github.com/nltk/nltk/commit/27fab63c5b7689a125feb282958f630ced3a4f77"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8302-1"}]},{"provider":"redhat-vex","source_id":"CVE-2026-0848","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-0848","license":"CC-BY-4.0","published_at":"2026-03-05T20:48:05.364Z","modified_at":"2026-03-24T16:25:03.162889Z","summary":"nltk: NLTK: Arbitrary code execution via unvalidated Java Archive (JAR) file loading","details":"A code injection flaw was found in nltk. The StanfordSegmenter module in NLTK (Natural Language Toolkit) is vulnerable to arbitrary code execution due to improper input validation. An attacker can exploit this by supplying or replacing Java Archive (JAR) files, which are dynamically loaded without verification or sandboxing. This allows for the execution of arbitrary Java bytecode at import time, potentially leading to remote code execution through methods such as model poisoning, Man-in-the-Middle (MITM) attacks, or dependency poisoning.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"CVE-2026-0848"},{"type":"Red Hat","score":"None","source":"CVE-2026-0848"}],"affected":[],"product_status":[{"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-0848"},{"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","openshift-lightspeed/lightspeed-ocp-rag-rhel9","openshift-lightspeed/lightspeed-service-api-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-0848"},{"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-workbench-jupyter-pytorch-llmcompressor-cuda-py312-rhel9"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-0848"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0848.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-0848"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444957"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-0848"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0848"},{"type":"WEB","url":"https://github.com/nltk/nltk/pull/3477"},{"type":"WEB","url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"}]}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/08b109bb-ac24-403f-9422-1c246ce60202"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-0848"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-0848"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-0848"},{"type":"REPORT","url":"https://github.com/nltk/nltk/pull/3477"},{"type":"REPORT","url":"https://github.com/nltk/nltk/commit/27fab63c5b7689a125feb282958f630ced3a4f77"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8302-1"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0848.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-0848"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2444957"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0848"}],"sources":[{"provider":"osv","source_id":"USN-8302-1","url":"https://osv.dev/vulnerability/USN-8302-1","license":"CC-BY-SA-4.0","modified_at":"2026-06-30T18:16:27.29451Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-0848","url":"https://www.cve.org/CVERecord?id=CVE-2026-0848","license":"CC-BY-4.0","modified_at":"2026-03-06T16:31:01.105Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-0848","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0848","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-0848","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-0848","modified_at":"2026-10-01T03:00:18.09069Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-99","url":"https://osv.dev/vulnerability/PYSEC-2026-99","license":"CC-BY-4.0","modified_at":"2026-05-20T09:19:09.284207Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-0848","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-0848","license":"CC-BY-SA-4.0","modified_at":"2026-10-17T12:57:50.145302Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-0848","url":"https://access.redhat.com/security/cve/CVE-2026-0848","license":"CC-BY-4.0","modified_at":"2026-03-24T16:25:03.162889Z","relation":"self"}]}
