NLTK: Quadratic CPU Exhaustion in `XMLCorpusView._read_xml_fragment()` — GHSA-VP2X-QP44-57V7
GitHub · GitHub · GHSA-VP2X-QP44-57V7
ID
GHSA-VP2X-QP44-57V7
GHSA-VP2X-QP44-57V7
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
mittel
mittel
CVSS
6.3
6.3
EPSS
0.00222
0.00222
Zusammenfassung
## Summary `XMLCorpusView._read_xml_fragment()` reads a corpus file in 1 KiB blocks, appending each block to a growing `fragment` string, then calls `_VALID_XML_RE.match(fragment)` on the full accumulated buffer every iteration. Because each iteration rescans the entire accumulated fragment, the total amount of work grows quadratically with input size. Commit `c9c332284` (CWE-1333) made each `match()` call linear.…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-09-02
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: mittel.
- Gemeldeter CVSS-Wert: 6.3 von 10.
- Gemeldeter EPSS-Wert: 0.00222.
- Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: nltk.
Produkt
pip: nltk
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.
Offizielles Advisory
Nachweise und Herkunft
- Kanonische Advisory-ID
- GHSA-VP2X-QP44-57V7
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-09-02
- Letzte Quellenaktivität
- 2026-09-02
- Weitere Kennungen
- CVE-2026-81723
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.