MAL-2025-6549 Malicious code in memtools (PyPI)
- Published
- Updated
- Exploit status
- No public exploit known
Description
-= Per source details. Do not edit below this line.=-
Source: kam193 (fafb3bba871c43e80681f3c9f4618ec7547fe2295b120eb93adf31a59bf021f3)
Installing the package triggers a code that looks like downloading a picture, but in fact downloads and starts an executable with malware. Note that file supplied from the URL differs depending on the presence of the special header
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-07-memlib
Reasons (based on the campaign):
-
The package overrides the install command in setup.py to execute malicious code during installation.
-
Downloads and executes a remote executable.
-
malware
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi memtools(PyPI) | = 2.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi memtools(PyPI) | = 2.0.0 | No fix listed |