picklescan - Detection Bypass via STACK_GLOBAL Opcode Parsing Logic Flaw
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
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 can craft pickle files with arguments at position zero to trigger unexpected exceptions and evade security scanning.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| picklescan | picklescan | before 0.0.27 | 0.0.27 | Patch available | CNA |
| — | picklescan (PyPI) | before 0.0.27 | 0.0.27 | Patch available | GHSA-9gvj-pp9x-gcfr |
- picklescan Vendorpicklescan Affected before 0.0.27 Fixed in 0.0.27 Patch available CNA
- picklescan (PyPI) Vendor— Affected before 0.0.27 Fixed in 0.0.27 Patch available GHSA-9gvj-pp9x-gcfr
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* | — | — | picklescan |
- cpe:2.3:a:mmaitre314:picklescan:*:*:*:*:*:*:*:* Versions — — ·picklescan
Remediation
- Fix · CNA picklescan (picklescan) Fixed in 0.0.27
- Fix · GHSA-9gvj-pp9x-gcfr picklescan (PyPI) Fixed in 0.0.27 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71325
- 2026-10-03 Alias added: GHSA-9gvj-pp9x-gcfr
References
Advisory 2
Other 5
- https://github.com/mmaitre314/picklescan/commit/58983e1c20973ac42f2df7ff15d7c8cd32f9b688
- https://github.com/mmaitre314/picklescan
- https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L255
- https://github.com/mmaitre314/picklescan/blob/2a8383cfeb4158567f9770d86597300c9e508d0f/src/picklescan/scanner.py#L281
- https://github.com/mmaitre314/picklescan/releases/tag/v0.0.27
More picklescan vulnerabilities
- TI-2026-03009 picklescan - Universal Blocklist Bypass via pkgutil.resolve_name CVSS 4.0CRITICAL 10.0
- TI-2026-40680 picklescan - Remote Code Execution via Unblocked Standard Library Modules CVSS 4.0CRITICAL 9.3
- TI-2026-38870 picklescan - Arbitrary Code Execution via Obfuscated eval Call CVSS 4.0CRITICAL 9.3
- TI-2026-38869 picklescan - Arbitrary Code Execution via profile.run() Blocklist Bypass CVSS 4.0CRITICAL 9.3
- TI-2025-43444 picklescan - Remote Code Execution via Unblocked ctypes Module CVSS 4.0CRITICAL 9.3
- TI-2025-43442 picklescan - Arbitrary File Writing via distutils Module Bypass CVSS 4.0CRITICAL 9.3
Sources
- CVE-2025-71325 · CVE Program
- CVE-2025-71325 · NVD
- FIRST EPSS
- GHSA-9gvj-pp9x-gcfr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences