# CVE-2025-71359: picklescan - Unsafe Deserialization via lib2to3.pgen2.grammar.Grammar.loads

- 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.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-26T18:36:02.000Z
- Modified: 2026-10-12T21:10:00.227Z
- Also known as: GHSA-f54q-57x4-jg88
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

picklescan before 0.0.29 fails to detect malicious pickle payloads that utilize lib2to3.pgen2.grammar.Grammar.loads in the reduce method, allowing remote code execution. Attackers can craft pickle files embedding dangerous code that evades picklescan detection and executes during pickle.load() deserialization.

(As written by CVE List.)

## Affected

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

## 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-f54q-57x4-jg88> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/picklescan-unsafe-deserialization-via-lib2to3-pgen2-grammar-grammar-loads> (third-party-advisory)
- <https://github.com/mmaitre314/picklescan/commit/aecd11be98702caa9ba9b12189d91ad596a36114> (web)
- <https://github.com/mmaitre314/picklescan> (package)

## Sources

- CVE List: [CVE-2025-71359](https://www.cve.org/CVERecord?id=CVE-2025-71359), CVE Terms of Use, modified 2026-07-06
- GitHub Advisory Database: [GHSA-f54q-57x4-jg88](https://github.com/advisories/GHSA-f54q-57x4-jg88), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2025-71359](https://nvd.nist.gov/vuln/detail/CVE-2025-71359), Public domain, modified 2026-10-12

---

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