Versions 0.5.15 and 0.5.16 of num2words were compromised (maintainer account compromise). Other versions are not flagged as malicious.
Do not install num2words 0.5.15 or 0.5.16
CRITICALanalyst verified
Maintainer account compromise, verified by a CyberXYZ analyst.
// what we observed
Compromised PyPI maintainer account led to malicious versions being published Jul 2025. Versions 0.5.15 and 0.5.16 removed by PyPI. MAL-2025-* series.
year
2025
mitre ttp
T1195.001
// versions and what to do
Malicious
0.5.15, 0.5.16
Move to
0.5.14 newest 0.x release, no known advisory
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
3 published AI models are associated with this package: 1 name it in a requirements or pyproject file, 2 load it or import it directly, and 0 are inferred from the runtime stack their declared library pulls in. Only 0 state a version requirement, so this is not a count of affected models.
cvss
9.0
critical
severity band, no base score published
epss
not scored
chance of exploitation in 30 days
xyz score
4.9
medium
CyberXYZ composite out of 10
fig. 01 — GHSA-jxr6-qrxx-2ph2, the advisory selected below
// 1 advisories
GHSA-jxr6-qrxx-2ph2
CRITICALGitHub rating
The num2words project was compromised via a phishing attack and two new versions were uploaded to PyPI containing malicious code. The affected versions have been removed from PyPI, and users are advised to remove the affected versions from their environments.
Checked 2026-11-06 at 21:34 UTC. The most recent advisory here was published 2025-07-31. Updated continuously from NVD, GHSA, OSV and CNA feeds.