MAL-2025-6549

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/memtools/MAL-2025-6549.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2025-6549
Published
2025-07-16T19:47:30Z
Modified
2026-03-19T12:54:57.073791Z
Summary
Malicious code in memtools (PyPI)
Details

-= 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

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "RLMA-2025-03646",
            "import_time": "2025-08-01T10:07:12.662341077Z",
            "source": "reversing-labs",
            "versions": [
                "2.0.0"
            ],
            "modified_time": "2025-07-31T19:15:44Z",
            "sha256": "7610337007cb1518ff3ab5fddfce5cdf36a4df92b45d0f389d7e4d333e425780"
        },
        {
            "id": "pypi/2025-07-memlib/memtools",
            "import_time": "2025-12-02T22:30:55.335247775Z",
            "source": "kam193",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2025-07-16T19:47:30.822878Z",
            "sha256": "442cad9234093b04b5d1e1609b4059b82184819bcbcaf06d71e2e11875b18d5e"
        },
        {
            "id": "pypi/2025-07-memlib/memtools",
            "import_time": "2025-12-02T23:07:18.364197388Z",
            "source": "kam193",
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "modified_time": "2025-07-16T19:47:30.822878Z",
            "sha256": "fafb3bba871c43e80681f3c9f4618ec7547fe2295b120eb93adf31a59bf021f3"
        },
        {
            "id": "pypi/2025-07-memlib/memtools",
            "import_time": "2025-12-10T21:38:57.592839204Z",
            "source": "kam193",
            "versions": [
                "2.0.0"
            ],
            "modified_time": "2025-07-16T19:47:30.822878Z",
            "sha256": "c2e5cff183529e337de2e1618244554c8c3d612b7b3383cf24bd2dcead166fe0"
        },
        {
            "id": "RLUA-2026-00513",
            "import_time": "2026-03-19T12:20:03.637994001Z",
            "source": "reversing-labs",
            "modified_time": "2026-03-18T12:16:01Z",
            "sha256": "c1da537a5e3a142483dd81d21bc6055d761214b7c79c5f50fa2b7c22e1102fab"
        }
    ],
    "iocs": {
        "urls": [
            "https://image-logo-popup-files.vercel.app/public/image.jpg"
        ]
    }
}
References
Credits

Affected packages

PyPI / memtools

Package

Affected ranges

Affected versions

2.*
2.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/memtools/MAL-2025-6549.json"