MAL-2025-6794
Vulnerability from ossf_malicious_packages
Published
2025-07-31 19:33
Modified
2026-07-22 03:50
Summary
Malicious code in num2words (PyPI)
Details
-= 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
- 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)"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
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.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
Loading…
Loading…