# CVE-2026-81723: NLTK before 3.10.3 Quadratic CPU Exhaustion via XMLCorpusView

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-27T14:51:16.614Z
- Modified: 2026-09-24T20:44:42.207Z
- Also known as: GHSA-vp2x-qp44-57v7, PYSEC-2026-3871
- Weaknesses: CWE-400, CWE-407
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK versions before 3.10.3 contain a quadratic CPU exhaustion vulnerability in XMLCorpusView._read_xml_fragment() that rescans accumulated XML fragments on every 1 KiB block read. Attackers can provide malformed XML corpus files to cause severe CPU consumption and denial of service through affected readers like BNCCorpusReader.

(As written by CVE List.)

## Affected

- nltk nltk: before 3.10.3 (not affected: 3.10.3)
- nltk (PyPI): before 3.10.3

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-vp2x-qp44-57v7> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-3.10.3-quadratic-cpu-exhaustion-via-xmlcorpusview> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81723> (advisory)
- <https://github.com/nltk/nltk/commit/7808692d451b962711005d954859bb83aabcf8fa> (web)
- <https://github.com/nltk/nltk> (package)
- <https://github.com/nltk/nltk/releases/tag/v3.10.3> (web)
- <https://pypi.org/project/nltk> (package)
- <https://github.com/advisories/GHSA-vp2x-qp44-57v7> (advisory)

## Sources

- CVE List: [CVE-2026-81723](https://www.cve.org/CVERecord?id=CVE-2026-81723), CVE Terms of Use, modified 2026-08-31
- GitHub Advisory Database: [GHSA-vp2x-qp44-57v7](https://github.com/advisories/GHSA-vp2x-qp44-57v7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-81723](https://nvd.nist.gov/vuln/detail/CVE-2026-81723), Public domain, modified 2026-09-24
- PyPA Advisory Database: [PYSEC-2026-3871](https://osv.dev/vulnerability/PYSEC-2026-3871), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-81723 · Whole record: https://cve.day/CVE-2026-81723.json · Rebuilt by cve.day 2026-11-25T22:59:35.515Z
