Home

Description

picklescan before 0.0.30 fails to detect malicious pickle files that exploit lib2to3.pgen2.pgen.ParserGenerator.make_label function in the reduce method. Attackers can craft malicious pickle files with embedded code that evades detection but executes arbitrary commands when pickle.load() is called.

PUBLISHED Reserved 2026-06-20 | Published 2026-07-04 | Updated 2026-07-07 | Assigner VulnCheck




HIGH: 7.6CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
HIGH: 8.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Problem types

Deserialization of Untrusted Data

Product status

Default status
unaffected

Any version before 0.0.30
affected

0.0.30 (semver)
unaffected

Credits

FredericDT reporter

References

github.com/...lescan/security/advisories/GHSA-p9w7-82w4-7q8m exploit

github.com/...lescan/security/advisories/GHSA-p9w7-82w4-7q8m (GitHub Security Advisory (GHSA-p9w7-82w4-7q8m)) vendor-advisory

www.vulncheck.com/...ergenerator-make-label-detection-bypass (VulnCheck Advisory: picklescan - Arbitrary Code Execution via lib2to3.pgen2.pgen.ParserGenerator.make_label Detection Bypass) third-party-advisory

cve.org (CVE-2025-71343)

nvd.nist.gov (CVE-2025-71343)

Download JSON