# CVE-2025-71343: picklescan - Arbitrary Code Execution via lib2to3.pgen2.pgen.ParserGenerator.make_label Detection Bypass

- Severity: High 7.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-26T21:34:56.000Z
- Modified: 2026-10-12T21:10:00.227Z
- Also known as: GHSA-p9w7-82w4-7q8m
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- picklescan picklescan: before 0.0.30 (not affected: 0.0.30)
- picklescan (PyPI): before 0.0.30

## Every score

- VulnCheck: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: rating Medium

## References

- <https://github.com/mmaitre314/picklescan/security/advisories/GHSA-p9w7-82w4-7q8m> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-lib2to3-pgen2-pgen-parsergenerator-make-label-detection-bypass> (third-party-advisory)
- <https://github.com/mmaitre314/picklescan/commit/1931c2d04eaca8d20597705ff39cab78ba364e4b> (web)
- <https://github.com/mmaitre314/picklescan> (package)

## Sources

- CVE List: [CVE-2025-71343](https://www.cve.org/CVERecord?id=CVE-2025-71343), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-p9w7-82w4-7q8m](https://github.com/advisories/GHSA-p9w7-82w4-7q8m), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2025-71343](https://nvd.nist.gov/vuln/detail/CVE-2025-71343), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2025-71343 · Whole record: https://cve.day/CVE-2025-71343.json · Rebuilt by cve.day 2026-11-25T22:59:12.375Z
