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

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- 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.60%, higher than 50% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-12T00:13:55.000Z
- Modified: 2026-11-08T14:00:26.179Z
- Also known as: GHSA-9gvj-pp9x-gcfr, PYSEC-2026-1788
- Weaknesses: CWE-391, CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

- VulnCheck: 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`
- 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`
- GitHub: CVSS:4.0 High `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/E:P`
- PyPA Advisory Database: CVSS:4.0 `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/E:P`

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-9gvj-pp9x-gcfr> (exploit, vendor-advisory, web)
- <https://github.com/mmaitre314/picklescan/commit/2a8383cfeb4158567f9770d86597300c9e508d0f> (patch, web)
- <https://www.vulncheck.com/advisories/picklescan-detection-bypass-via-stack-global-opcode-parsing-logic-flaw> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-71325> (advisory)
- <https://github.com/mmaitre314/picklescan/commit/58983e1c20973ac42f2df7ff15d7c8cd32f9b688> (web)
- <https://github.com/mmaitre314/picklescan> (package)
- <https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L255> (web)
- <https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L281> (web)
- <https://github.com/mmaitre314/picklescan/releases/tag/v0.0.27> (web)
- <https://pypi.org/project/picklescan> (package)
- <https://github.com/advisories/GHSA-9gvj-pp9x-gcfr> (advisory)

## Sources

- CVE List: [CVE-2025-71325](https://www.cve.org/CVERecord?id=CVE-2025-71325), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-9gvj-pp9x-gcfr](https://github.com/advisories/GHSA-9gvj-pp9x-gcfr), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-71325](https://nvd.nist.gov/vuln/detail/CVE-2025-71325), Public domain, modified 2026-10-12
- PyPA Advisory Database: [PYSEC-2026-1788](https://osv.dev/vulnerability/PYSEC-2026-1788), CC-BY-4.0, modified 2026-07-07

---

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