# CVE-2026-81725: NLTK before 3.10.3 Regular Expression Denial of Service via Pl196xCorpusReader

- 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.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-27T14:51:18.082Z
- Modified: 2026-09-08T20:45:04.346Z
- Also known as: GHSA-8mpw-7fpc-4gqj, PYSEC-2026-3752
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

NLTK before 3.10.3 contains a regular expression denial of service vulnerability in Pl196xCorpusReader that allows attackers to cause quadratic CPU consumption by supplying malformed TEI blocks with many unmatched opening tags. Attackers can exploit lazy regex patterns in the read_block method through public APIs like words() and tagged_words() to force repeated rescans and achieve near-quadratic runtime growth.

(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:4.0 Medium `CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X`

## References

- <https://github.com/nltk/nltk/security/advisories/GHSA-8mpw-7fpc-4gqj> (exploit, evidence, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/nltk-before-3.10.3-regular-expression-denial-of-service-via-pl196xcorpusreader> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-81725> (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://github.com/pypa/advisory-database/tree/main/vulns/nltk/PYSEC-2026-3752.yaml> (web)

## Sources

- CVE List: [CVE-2026-81725](https://www.cve.org/CVERecord?id=CVE-2026-81725), CVE Terms of Use, modified 2026-08-28
- GitHub Advisory Database: [GHSA-8mpw-7fpc-4gqj](https://github.com/advisories/GHSA-8mpw-7fpc-4gqj), CC-BY-4.0, modified 2026-09-08
- NVD: [CVE-2026-81725](https://nvd.nist.gov/vuln/detail/CVE-2026-81725), Public domain, modified 2026-09-01
- PyPA Advisory Database: [PYSEC-2026-3752](https://osv.dev/vulnerability/PYSEC-2026-3752), CC-BY-4.0, modified 2026-09-02

---

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