NLTK: Uncontrolled recursion in nltk.featstruct.FeatStructReader causes unhandled RecursionError (DoS) via deeply nested feature-structure input — GHSA-CW6X-M8JW-QMRH
GitHub · GitHub · GHSA-CW6X-M8JW-QMRH
ID
GHSA-CW6X-M8JW-QMRH
GHSA-CW6X-M8JW-QMRH
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
mittel
mittel
CVSS
6.9
6.9
EPSS
0.00267
0.00267
Zusammenfassung
### Summary `nltk.featstruct.FeatStructReader` (used by `FeatStruct(str)` and by `FeatureGrammar.fromstring()`) parses feature-structure strings such as `[a=1]` with a recursive-descent parser that has no nesting-depth limit. A small, trivially-crafted input (~700 bytes) with deeply nested brackets drives the parser past Python's recursion limit and raises an **unhandled `RecursionError`** instead of the library's…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-09-02
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: mittel.
- Gemeldeter CVSS-Wert: 6.9 von 10.
- Gemeldeter EPSS-Wert: 0.00267.
- 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-CW6X-M8JW-QMRH
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-09-02
- Letzte Quellenaktivität
- 2026-09-02
- Weitere Kennungen
- CVE-2026-81724
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.