CVE-2025-56005: Vulnerability in Dabeaz Ply
Critical. An undocumented and unsafe feature in the PLY (Python Lex-Yacc) library 3.11 allows Remote Code Execution (RCE) via the picklefile parameter in the yacc() function. This parameter accepts a .pkl file that is deserialized with pickle.load() without validation. Because pickle allows execution of embedded code via __reduce__(), an attacker can achieve code execution by passing a malicious pickle file. The parameter...
CWE-502
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-502
- Published
- 20 Jan 2026
- Last change
- 17 Sept 2026
Affected products
Affected versions and the first fixed release
- Dabeaz Ply Version 3.11. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/bohmiiidd/Undocumented-RCE-in-PLY
- github.com/bohmiiidd/Undocumument_RCE_PLY-yacc-CVE-2025-56005
- github.com/tom025/ply_exploit_rejection
- github.com/tom025/ply_exploit_rejection/issues/1
- openwall.com/lists/oss-security/2026/01/23/4
- openwall.com/lists/oss-security/2026/01/23/5
Related
- Ply vulnerabilities Recent advisories, watch this product