{"id":"CVE-2025-71325","title":"picklescan before 0.0.27 contains a parsing logic error in the _list_globals function when handling STACK_GLOBAL opcodes, failing to track arguments in the correct range and allowing malicious pickle files to bypass detection","summary":"picklescan before 0.0.27 contains a parsing logic error in the _list_globals function when handling STACK_GLOBAL opcodes, failing to track arguments in the correct range and allowing malicious pickle files to bypass detection. Attackers …","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-391"],"vendor":"picklescan","product":"picklescan","affected":["picklescan < 0.0.27"],"patched":["picklescan 0.0.27"],"published":"2026-06-17","updated":"2026-10-12","sourceUpdated":"2026-10-12T22:10:00.247","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-71325","references":[{"url":"https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f","label":"disclosure@vulncheck.com"},{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/picklescan-detection-bypass-via-stack-global-opcode-parsing-logic-flaw","label":"disclosure@vulncheck.com"},{"url":"https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71325"},{"url":"https://github.com/mmaitre314/picklescan/commit/58983e1c20973ac42f2df7ff15d7c8cd32f9b688"},{"url":"https://github.com/mmaitre314/picklescan"},{"url":"https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L255"},{"url":"https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L281"},{"url":"https://github.com/mmaitre314/picklescan/releases/tag/v0.0.27"}],"tags":["nvd","osv","pip"],"epss":0.00604,"epssPercentile":0.49008,"aliases":["GHSA-9gvj-pp9x-gcfr","PYSEC-2026-1788"],"ecosystem":"pip","ingestedAt":"2026-07-08T18:25:47.983Z","slug":"CVE-2025-71325","body":"## Overview\n\npicklescan before 0.0.27 contains a parsing logic error in the _list_globals function when handling STACK_GLOBAL opcodes, failing to track arguments in the correct range and allowing malicious pickle files to bypass detection. Attackers can craft pickle files with arguments at position zero to trigger unexpected exceptions and evade security scanning.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2025-71325)\n\nAffected packages:\n\n- `picklescan < 0.0.27`\n\nPatched in:\n\n- `picklescan 0.0.27`\n\nSource: https://osv.dev/vulnerability/GHSA-9gvj-pp9x-gcfr","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":53.9,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":213766,"id":"CVE-2025-71325","ts":1790788482321,"field":"cvss","old":null,"new":"9.8"},{"seq":213765,"id":"CVE-2025-71325","ts":1790788482321,"field":"severity","old":"high","new":"critical"}]}