Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.6
CVE-2025-71370: picklescan may let malicious pickle files run code
CVE-2025-71370 · published 3 months ago
Summary
The picklescan tool up to version 0.0.27 does not recognize dangerous calls hidden in pickle files that use torch.jit.unsupported_tensor_ops.execWrapper. As a result, a crafted pickle file could execute any code when it is loaded with pickle.load(). Upgrade picklescan to a version that includes the fix or avoid loading untrusted pickle files.
What to do
- Update matthieu maitre picklescan to version 0.0.28.
- Update picklescan to version 0.0.28.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| pip | matthieu maitre | picklescan |
<= 0.0.27 Fix: upgrade to 0.0.28
|
| pip | – | picklescan |
<= 0.0.27 Fix: upgrade to 0.0.28
|
| PyPI | – | picklescan |
< 0.0.28 Fix: upgrade to 0.0.28
|
Original advisory text
picklescan - Remote Code Execution via torch.jit.unsupported_tensor_ops.execWrapper
picklescan before 0.0.28 fails to detect malicious torch.jit.unsupported_tensor_ops.execWrapper function calls embedded in pickle files. Attackers can craft malicious pickle files that bypass picklescan detection and execute arbitrary code when loaded via pickle.load().
References
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-vr7h-p6mm-wpmh
- https://github.com/mmaitre314/picklescan/pull/47
- https://github.com/mmaitre314/picklescan/commit/7f994d62084fe43f1cffdef2f9bae692...
- https://github.com/mmaitre314/picklescan/releases/tag/v0.0.28
- https://nvd.nist.gov/vuln/detail/CVE-2025-71370 Vendor Advisory
- https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-torch-...
- https://github.com/advisories/GHSA-vr7h-p6mm-wpmh
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71370... Vendor Advisory
- https://github.com/mmaitre314/picklescan Product
- https://pypi.org/project/picklescan Product
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
7.6
High
Type
CWE-345Insufficient Verification of Data Authenticity
CWE-502Deserialization of Untrusted Data
Timeline
Published23 Jun 2026
Updated11 Oct 2026
First seen6 Mar 2026
Sources
GHSA-vr7h-p6mm-wpmh · GHSA
CVE-2025-71370 · NVD
GHSA-vr7h-p6mm-wpmh · OSV
PYSEC-2026-4136 · OSV
CVE-2025-71370 · OSV
Track software like this
Free during beta