Quick answers
- Is CVE-2025-58757 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2025-58757 being exploited in the wild.
- How severe is CVE-2025-58757?
- High severity, with a CVSS score of 8.8, published 9 September 2025.
- Which products and versions are affected?
- monai (PyPI) <= 1.5.0, ECOSYSTEM:introduced=0,fixed=1.5.1, ECOSYSTEM:introduced=0,fixed=1.5.1rc1.
- Is there a fix for CVE-2025-58757?
- Yes. monai (PyPI): upgrade to 1.5.1, 1.5.1rc1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2025-58757 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2025-58757?
- Check whether you run monai (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- monai (PyPI): upgrade to 1.5.1, 1.5.1rc1 or later
pip install "monai>=1.5.1rc1"
Technical details
A deserialization vulnerability (CWE-502) exists in the `pickle_operations` function within `monai/data/utils.py`. The function automatically identifies dictionary keys with specific suffixes and processes their values using `pickle.loads()` without validation. An attacker can exploit this by providing a malicious dataset or serialized file that, when processed by functions like `list_data_collate` during batch training or data loading, triggers arbitrary code execution. The vulnerability is reachable if a user is enticed to load or process untrusted data. This issue is addressed in version 1.5.1.
Affected products
- Project-MONAI MONAI <= 1.5.0
Identifiers
- CVE-2025-58757
- GHSA-p8cm-mm2v-gwjm
- PYSEC-2025-142
Timeline
- 2025-09-08: disclosed: Advisory published by Project-MONAI
- 2025-09-09: advisory: GitHub Advisory and NVD publication
- 2025-09-09: patched: Version 1.5.1 released