MAL-2025-6547

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

-= Per source details. Do not edit below this line.=-

Source: kam193 (a0d0e362d3ea9b768078a9e47f80c667acef799c7099f8044e74fd1738fdedb4)

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
{
    "iocs": {
        "urls": [
            "https://image-logo-popup-files.vercel.app/public/image.jpg"
        ]
    },
    "malicious-packages-origins": [
        {
            "id": "RLMA-2025-03644",
            "sha256": "e424a3ccba21168bc30bb897ea5eb6e2943ee8a5554c39eec55f049031239127",
            "source": "reversing-labs",
            "versions": [
                "2.0.0"
            ],
            "modified_time": "2025-07-31T19:15:43Z",
            "import_time": "2025-08-01T10:07:12.593648595Z"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-07-memlib/memlib",
            "sha256": "de3ef8a2a725d846e8066394b238be79bfe0d7b7e7c3b653dc1b5e7dc12361d2",
            "source": "kam193",
            "modified_time": "2025-07-16T19:46:02.684371Z",
            "import_time": "2025-12-02T22:30:55.333720421Z"
        },
        {
            "ranges": [
                {
                    "type": "ECOSYSTEM",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "pypi/2025-07-memlib/memlib",
            "sha256": "a0d0e362d3ea9b768078a9e47f80c667acef799c7099f8044e74fd1738fdedb4",
            "source": "kam193",
            "modified_time": "2025-07-16T19:46:02.684371Z",
            "import_time": "2025-12-02T23:07:18.3624201Z"
        },
        {
            "id": "pypi/2025-07-memlib/memlib",
            "sha256": "d5e00072c0ca596f2cfeffed47046624395c7ae0158ae4df3ef306239b6109f8",
            "source": "kam193",
            "versions": [
                "2.0.0"
            ],
            "modified_time": "2025-07-16T19:46:02.684371Z",
            "import_time": "2025-12-10T21:38:57.591212641Z"
        },
        {
            "id": "RLUA-2026-00511",
            "sha256": "3824a3e69aad7c7ad9b98554d431c114976015a7766187d94716b68048cc4f45",
            "source": "reversing-labs",
            "modified_time": "2026-03-18T12:16:00Z",
            "import_time": "2026-03-19T12:20:03.426697597Z"
        }
    ]
}
References
Credits

Affected packages

PyPI / memlib

Package

Affected ranges

Affected versions

2.*
2.0.0

Database specific

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