{"id":"CVE-2025-71352","title":"picklescan before 0.0.29 fails to detect the built-in Python trace.Trace.runctx function when used in pickle file reduce methods, allowing attackers to execute arbitrary code","summary":"picklescan before 0.0.29 fails to detect the built-in Python trace.Trace.runctx function when used in pickle file reduce methods, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files with trace.…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","cwe":["CWE-693"],"vendor":"picklescan","product":"picklescan","affected":["picklescan < 0.0.29"],"patched":["picklescan 0.0.29"],"published":"2026-06-30","updated":"2026-10-12","sourceUpdated":"2026-10-12T21:10:00.227","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-71352","references":[{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-g344-hcph-8vgg","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/picklescan-remote-code-execution-via-undetected-trace-trace-runctx-in-pickle-files","label":"disclosure@vulncheck.com"},{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-g344-hcph-8vgg","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://github.com/mmaitre314/picklescan/commit/aecd11be98702caa9ba9b12189d91ad596a36114"},{"url":"https://github.com/mmaitre314/picklescan"}],"tags":["nvd","osv","pip"],"epss":0.00716,"epssPercentile":0.53554,"aliases":["GHSA-g344-hcph-8vgg"],"ecosystem":"pip","ingestedAt":"2026-07-08T18:25:49.192Z","slug":"CVE-2025-71352","body":"## Overview\n\npicklescan before 0.0.29 fails to detect the built-in Python trace.Trace.runctx function when used in pickle file reduce methods, allowing attackers to execute arbitrary code. Remote attackers can craft malicious pickle files with trace.Trace.runctx payloads that bypass picklescan detection and execute code upon pickle.load() invocation.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2025-71352)\n\nAffected packages:\n\n- `picklescan < 0.0.29`\n\nPatched in:\n\n- `picklescan 0.0.29`\n\nSource: https://osv.dev/vulnerability/GHSA-g344-hcph-8vgg","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":213787,"id":"CVE-2025-71352","ts":1790788490349,"field":"cvss","old":null,"new":"8.1"},{"seq":213786,"id":"CVE-2025-71352","ts":1790788490349,"field":"severity","old":"medium","new":"high"}]}