GHSA-vp8m-mf3r-82q9
picklescan versions before 0.0.29 fail to detect malicious pickle payloads that exploit lib2to3.pgen2.grammar.Grammar.loads in the reduce method. This allows attackers to craft pickle files that evade detection and execute arbitrary code during deserialization with pickle.load(). The vulnerability is categorized as CWE-502 (Deserialization of Untrusted Data) and has a high severity rating.
AI Analysis
Technical Summary
The vulnerability in picklescan prior to version 0.0.29 involves insufficient detection of malicious pickle payloads that leverage the lib2to3.pgen2.grammar.Grammar.loads function within the reduce method. This flaw enables remote code execution by allowing attackers to embed dangerous code in pickle files that bypass picklescan's detection mechanisms and execute upon deserialization via pickle.load(). No patch or remediation is currently indicated in the provided data.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on the system during the deserialization process of malicious pickle files. This can lead to full compromise of the affected environment where untrusted pickle data is processed without proper validation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid deserializing pickle data from untrusted or unauthenticated sources. Consider implementing additional application-level validation or sandboxing of deserialization operations to reduce risk.
GHSA-vp8m-mf3r-82q9
Description
picklescan versions before 0.0.29 fail to detect malicious pickle payloads that exploit lib2to3.pgen2.grammar.Grammar.loads in the reduce method. This allows attackers to craft pickle files that evade detection and execute arbitrary code during deserialization with pickle.load(). The vulnerability is categorized as CWE-502 (Deserialization of Untrusted Data) and has a high severity rating.
CVSS v4.0
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in picklescan prior to version 0.0.29 involves insufficient detection of malicious pickle payloads that leverage the lib2to3.pgen2.grammar.Grammar.loads function within the reduce method. This flaw enables remote code execution by allowing attackers to embed dangerous code in pickle files that bypass picklescan's detection mechanisms and execute upon deserialization via pickle.load(). No patch or remediation is currently indicated in the provided data.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary code on the system during the deserialization process of malicious pickle files. This can lead to full compromise of the affected environment where untrusted pickle data is processed without proper validation.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid deserializing pickle data from untrusted or unauthenticated sources. Consider implementing additional application-level validation or sandboxing of deserialization operations to reduce risk.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-vp8m-mf3r-82q9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-71359"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a498a7e27e9c7971936fc82
Added to database: 07/04/2026, 22:34:38 UTC
Last enriched: 07/04/2026, 23:06:33 UTC
Last updated: 07/05/2026, 02:06:42 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.