picklescan versions before 0.0.30 fail to detect malicious pickle files that exploit the lib2to3.pgen2.pgen.ParserGenerator.make_label function used in the reduce method
Affects picklescanSource GCVE Database
Not known to be exploited · CVSS 8.1 High : upgrade to 0.0.30 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.0.30
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade picklescan to 0.0.30.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIpicklescanpkg:pypi/picklescanOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid using picklescan versions prior to 0.0.30 for security-critical applications or environments where untrusted pickle data might be processed.
Description
picklescan versions before 0.0.30 fail to detect malicious pickle files that exploit the lib2to3.pgen2.pgen.ParserGenerator.make_label function used in the reduce method. This allows attackers to craft pickle files that evade detection but execute arbitrary commands when loaded with pickle.load(). The vulnerability is categorized under CWE-502 (Deserialization of Untrusted Data). No known exploits in the wild have been reported.
References
- github.com/mmaitre314/picklescan/security/advisories/GHSA-p9w7-82w4-7q8m (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2025-71343 (opens in a new tab)
- vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-lib2to3-pgen2-pgen-parsergenerator-make-label-detection-bypass (opens in a new tab)