nltk has a serious security flaw (CVE-2026-126299, CVSS 8.7). The official record says: NLTK before 3.10.4 contains a denial of service vulnerability in the CCG lexicon parser fromstring that allows remote attackers to exhaust CPU by supplying wide inputs.
Not confirmed yet, but attack code is public, so attacks often follow within days.
Anyone running nltk older than 3.10.4.