mal-2025-6794
Vulnerability from ossf_malicious_packages
-= Per source details. Do not edit below this line.=-
Source: ghsa-malware (23a528edd10eb63e7c7932830fdb314983cadc840ce8ccfbaa04ad821bbdc1da)
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.
Source: google-open-source-security (36822c42f7e862f29cef9734efec9a9a9cc44a80e619e954dd25c12239d15767)
The num2words project was compromised via a phishing attack and two new versions were uploaded to PyPI containing malicious code.
- CWE-506 - The product contains code that appears to be malicious in nature.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
},
"package": {
"ecosystem": "PyPI",
"name": "num2words"
},
"ranges": [
{
"events": [
{
"introduced": "0.5.15"
},
{
"last_affected": "0.5.16"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.5.15",
"0.5.16"
]
}
],
"aliases": [
"PYSEC-2025-72",
"GHSA-jxr6-qrxx-2ph2"
],
"database_specific": {
"malicious-packages-origins": [
{
"import_time": "2025-08-06T01:07:01.055679Z",
"modified_time": "2025-08-06T01:01:03Z",
"sha256": "36822c42f7e862f29cef9734efec9a9a9cc44a80e619e954dd25c12239d15767",
"source": "google-open-source-security",
"versions": [
"0.5.15",
"0.5.16"
]
},
{
"id": "GHSA-jxr6-qrxx-2ph2",
"import_time": "2026-07-22T03:44:29.053827259Z",
"modified_time": "2026-07-21T17:23:21Z",
"ranges": [
{
"events": [
{
"introduced": "0.5.15"
},
{
"last_affected": "0.5.16"
}
],
"type": "ECOSYSTEM"
}
],
"sha256": "23a528edd10eb63e7c7932830fdb314983cadc840ce8ccfbaa04ad821bbdc1da",
"source": "ghsa-malware",
"versions": [
"0.5.16",
"0.5.15"
]
}
]
},
"details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (23a528edd10eb63e7c7932830fdb314983cadc840ce8ccfbaa04ad821bbdc1da)\nThe `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.\n\n## Source: google-open-source-security (36822c42f7e862f29cef9734efec9a9a9cc44a80e619e954dd25c12239d15767)\nThe num2words project was compromised via a phishing attack and two new\nversions were uploaded to PyPI containing malicious code.\n",
"id": "MAL-2025-6794",
"modified": "2026-07-22T03:50:00Z",
"published": "2025-07-31T19:33:29Z",
"references": [
{
"type": "WEB",
"url": "https://nitter.tiekoetter.com/SFLinux/status/1949906299308953827"
},
{
"type": "ARTICLE",
"url": "https://www.stepsecurity.io/blog/supply-chain-security-alert-num2words-pypi-package-shows-signs-of-compromise"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/num2words/PYSEC-2025-72.yaml"
},
{
"type": "WEB",
"url": "https://www.stepsecurity.io/blog/supply-chain-security-alert-num2words-pypi-package-shows-signs-of-compromise"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-jxr6-qrxx-2ph2"
}
],
"schema_version": "1.7.4",
"summary": "Malicious code in num2words (PyPI)"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.