Patchwire CVEs, their patch status, and feeds to follow them

CVE-2026-12372

Fixed in a distro release EPSS <1%CVSS 3.7

A Server-Side Request Forgery (SSRF) vulnerability exists in nltk/nltk versions 3.9.4 and the current develop branch. The `nltk.pathsec.validate_network_url()` function, intended to prevent SSRF by rejecting internal network addresses, fails to reject IPs in the RFC 6598 shared address space (`100.64.0.0/10`). This occurs because Python's `ipaddress` module does not classify such addresses as `is_private` or `is_global`, and the current guard only checks `is_private` and a few explicit categories. An attacker who can influence a URL passed to NLTK's network-loading helpers can exploit this vulnerability to make a strict-mode application send requests to shared-address-space hosts, potentially exposing non-public infrastructure reachable from the application host. The impact is limited to SSRF-style confidentiality exposure, with no code execution claimed.

Published 2026-08-09 · CVE record · OSV

Products: nltk/nltk

Fixed upstream

EcosystemPackageFixed in
PyPInltk3.10.0
PyPInltkno fix

Distro releases

ReleasePackageFixed in
Debian 12nltkno fix
Debian 13nltkno fix
Debian 14nltkno fix
Ubuntu 26.10nltkno fix
Ubuntu Pro 14.04 LTSnltkno fix
Ubuntu Pro 16.04 LTSnltkno fix
Ubuntu Pro 18.04 LTSnltkno fix
Ubuntu Pro 20.04 LTSnltkno fix
Ubuntu Pro 22.04 LTSnltkno fix
Ubuntu Pro 24.04 LTSnltkno fix
Ubuntu Pro 26.04 LTSnltkno fix
openSUSE Tumbleweedpython-nltk3.10.2-1.1