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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-71325 is a flaw in picklescan, a tool used to inspect Python pickle files for unsafe content. Versions before 0.0.27 can miss malicious pickle content because of incorrect parsing of STACK_GLOBAL opcodes. The business risk is strongest where picklescan is trusted as a security gate before accepting or loading model or data files.
Executive priority
Prioritize remediation if your organization handles third-party pickle or ML model files. This is a supply-chain and file-ingestion control weakness: the scanner may say a file is safe when it is not. If picklescan is not used, direct exposure is unlikely.
Technical view
The issue is a parsing logic error in picklescan’s _list_globals handling of STACK_GLOBAL opcodes. Crafted pickle files can place arguments at position zero, causing unexpected exceptions and evading detection. Public sources identify a patch commit and describe versions before 0.0.27 as affected. CWE-391 is cited.
Likely exposure
Exposure is likely in Python or ML workflows that scan untrusted pickle files with picklescan before use. Risk is lower where pickle files are not accepted from external sources or where additional controls prevent unsafe deserialization.
Exploitation context
The supplied sources describe a detection bypass, not confirmed active exploitation. KEV is false in the provided data. The practical concern is that malicious pickle files may pass scanning and later harm systems if loaded by downstream tools.
Researcher notes
Evidence is limited to the CVE bundle, GHSA, patch commit, and VulnCheck advisory. The issue is a bypass in detection logic, so impact depends on downstream deserialization behavior. Do not assume remote compromise unless the vulnerable scanner protects a path that later loads attacker-controlled pickle files.
Mitigation direction
Upgrade picklescan to version 0.0.27 or later if vendor guidance confirms availability.
Review pipelines that rely on picklescan as the only control for pickle safety.
Avoid loading untrusted pickle files unless strong isolation and validation controls are in place.
Monitor the GHSA and project repository for updated guidance.
Validation and detection
Inventory environments and CI pipelines using picklescan.
Confirm installed picklescan versions are not older than 0.0.27.
Check whether pickle files from users, partners, or public sources are scanned and then loaded.
Review security logs for prior scanner exceptions or failed pickle analysis results.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-391: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
4Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.