| Name | CVE-2024-39705 | 
| Description | NLTK through 3.8.1 allows remote code execution if untrusted packages have pickled Python code, and the integrated data package download functionality is used. This affects, for example, averaged_perceptron_tagger and punkt. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| Debian Bugs | 1074423 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| nltk (PTS) | bullseye | 3.5-1 | vulnerable | 
|  | bookworm | 3.8-1 | vulnerable | 
|  | forky, sid, trixie | 3.9.1-2 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| nltk | source | (unstable) | 3.9.1-1 |  |  | 1074423 | 
Notes
[bookworm] - nltk <postponed> (Minor issue, revisit when addressed upstream)
[bullseye] - nltk <postponed> (Minor issue, revisit when addressed upstream)
https://github.com/nltk/nltk/issues/3266
https://github.com/nltk/nltk/issues/2522