# CVE-2025-71325: picklescan - Detection Bypass via STACK_GLOBAL Opcode Parsing Logic Flaw

Status: published. Published: 2026-06-17. Updated: 2026-11-08.

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 can craft pickle files with arguments at position zero to trigger unexpected exceptions and evade security scanning.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulnCheck) — https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f
- fix: picklescan (PyPI): OSV reports a fixed version 0.0.27. Check the advisory for supported release branches. (source: OSV GHSA-9gvj-pp9x-gcfr) — https://github.com/advisories/GHSA-9gvj-pp9x-gcfr

## Affected products and versions

- picklescan / picklescan (picklescan): ≥ 0; < 0.0.27 (affected, semver); 0.0.27 (unaffected, semver). Source: CNA: VulnCheck
-  / picklescan (picklescan): 0.0.1 (affected, PyPI); 0.0.10 (affected, PyPI); 0.0.11 (affected, PyPI); 0.0.12 (affected, PyPI); 0.0.13 (affected, PyPI); 0.0.14 (affected, PyPI); 0.0.15 (affected, PyPI); 0.0.16 (affected, PyPI); 0.0.17 (affected, PyPI); 0.0.18 (affected, PyPI); 0.0.19 (affected, PyPI); 0.0.2 (affected, PyPI); 0.0.20 (affected, PyPI); 0.0.21 (affected, PyPI); 0.0.22 (affected, PyPI); 0.0.23 (affected, PyPI); 0.0.24 (affected, PyPI); 0.0.25 (affected, PyPI); 0.0.26 (affected, PyPI); 0.0.3 (affected, PyPI); 0.0.4 (affected, PyPI); 0.0.5 (affected, PyPI); 0.0.6 (affected, PyPI); 0.0.7 (affected, PyPI); 0.0.8 (affected, PyPI); 0.0.9 (affected, PyPI); Ecosystem version events: introduced 0; fixed 0.0.27. Source: OSV GHSA-9gvj-pp9x-gcfr

## Severity and prioritization

- CVSS 4.0: 9.3 (critical); CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N; source: CNA: VulnCheck

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: 0.60% as of 2026-11-08; percentile 49.16%

- SSVC: exploitation poc; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-391

## Exploit evidence

- exploit: https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr (ADP: CISA-ADP)

## References

- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr (CNA: VulnCheck; vendor-advisory)

- https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f (CNA: VulnCheck; patch)

- https://www.vulncheck.com/advisories/picklescan-detection-bypass-via-stack-global-opcode-parsing-logic-flaw (CNA: VulnCheck; third-party-advisory)

- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr (ADP: CISA-ADP; exploit)

- https://github.com/advisories/GHSA-9gvj-pp9x-gcfr (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-9gvj-pp9x-gcfr (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2025-71325; retrieved 2026-11-08; source updated 2026-11-08

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-9gvj-pp9x-gcfr; retrieved 2026-11-08; source updated 2026-07-07

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-71325; retrieved 2026-11-08; source updated Not reported

Revision: e354e4a6b40105933ea4adbf185c3f0f593d48115fd4340bae0a47586d35ce22

Canonical: https://y2.dev/cve/CVE-2025-71325

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.