{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-128139","id":"CVE-2026-128139","title":"NLTK denial of service in XML corpus reading","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. From 3.6 to 3.10.3, XMLCorpusView._read_xml_fragment accumulates 1 KiB blocks and repeatedly applies whole-buffer XML validation while a comment or CDATA terminator remains ahead. A large comment in an attacker-controlled corpus file","descriptionLong":"NLTK (Natural Language Toolkit) is a suite of open source Python modules, data sets, and tutorials supporting research and development in Natural Language Processing. From 3.6 to 3.10.3, XMLCorpusView._read_xml_fragment accumulates 1 KiB blocks and repeatedly applies whole-buffer XML validation while a comment or CDATA terminator remains ahead. A large comment in an attacker-controlled corpus file causes quadratic CPU consumption through documented XML corpus readers across the affected range. On 3.6 and 3.9.2, a large CDATA section incurs the quadratic scan before rejection, while on 3.10.3 both comment and CDATA documents are read successfully. This vulnerability is fixed in 3.10.4.","published":"2026-11-19T17:39:20.222Z","updated":"2026-11-19T19:00:10.275435085Z","reserved":"2026-11-12T22:42:47.033Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["nltk"],"affectedProducts":[{"vendor":"nltk","product":"nltk","defaultStatus":null,"versions":[{"version":">= 3.6, < 3.10.4","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"nltk","purl":"pkg:pypi/nltk","ranges":[">=3.6 <3.10.4"],"fixed":["3.10.4"],"advisory":"GHSA-j8g8-j4j7-8j54"}],"cwes":["CWE-400","CWE-407"],"aliases":["GHSA-j8g8-j4j7-8j54"],"references":[{"url":"https://github.com/nltk/nltk/security/advisories/GHSA-j8g8-j4j7-8j54","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/nltk/nltk/commit/9cacbb95d97eaac7debb30d6e7decbe74d2c635f","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nltk/nltk/releases/tag/v3.10.4","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128139.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128139","tags":["advisory"]},{"url":"https://github.com/nltk/nltk","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00668,"epssPercentile":0.5285,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-128139","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128139","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-128139","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j8g8-j4j7-8j54","ok":true,"note":"GHSA-j8g8-j4j7-8j54"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-128139","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}