# CVE-2025-71366: picklescan - Arbitrary Code Execution via torch.utils.bottleneck.__main__.run_cprofile

- Severity: High 7.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-22T16:56:25.000Z
- Modified: 2026-10-12T19:10:00.217Z
- Also known as: GHSA-4r9r-ch6f-vxmx
- Weaknesses: CWE-345, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

picklescan before 0.0.28 fails to detect malicious torch.utils.bottleneck.__main__.run_cprofile function calls in pickle files, allowing attackers to bypass safety checks. Remote attackers can embed undetected code in pickle files to achieve arbitrary code execution when victims load the files.

(As written by CVE List.)

## Affected

- picklescan picklescan: before 0.0.28 (not affected: 0.0.28)
- picklescan (PyPI): before 0.0.28

## Every score

- VulnCheck: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: rating Medium

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-4r9r-ch6f-vxmx> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-torch-utils-bottleneck-main-run-cprofile> (third-party-advisory)
- <https://github.com/mmaitre314/picklescan/pull/47> (web)
- <https://github.com/mmaitre314/picklescan/commit/7f994d62084fe43f1cffdef2f9bae6923344ef53> (web)
- <https://github.com/mmaitre314/picklescan> (package)
- <https://github.com/mmaitre314/picklescan/releases/tag/v0.0.28> (web)

## Sources

- CVE List: [CVE-2025-71366](https://www.cve.org/CVERecord?id=CVE-2025-71366), CVE Terms of Use, modified 2026-07-06
- GitHub Advisory Database: [GHSA-4r9r-ch6f-vxmx](https://github.com/advisories/GHSA-4r9r-ch6f-vxmx), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2025-71366](https://nvd.nist.gov/vuln/detail/CVE-2025-71366), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-71366 · Whole record: https://cve.day/CVE-2025-71366.json · Rebuilt by cve.day 2026-11-25T22:59:12.378Z
