{"id":"CVE-2025-56005","published":"2026-01-20T00:00:00Z","modified":"2026-09-17T12:04:32Z","title":"An undocumented and unsafe feature in the PLY (Python Lex-Yacc) library 3.11 allows Remote Code Execution (RCE) via…","vendor":null,"product":null,"tier":"tail","description":{"text":"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 is not mentioned in official documentation or the GitHub repository, yet it is active in the PyPI version. This introduces a stealthy backdoor and persistence risk. NOTE: A third-party states that this vulnerability should be rejected because the proof of concept does not demonstrate arbitrary code execution and fails to complete successfully.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.18807,"percentile":0.9735,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/bohmiiidd/Undocumented-RCE-in-PLY","tags":[]},{"url":"https://github.com/tom025/ply_exploit_rejection","tags":[]},{"url":"https://github.com/bohmiiidd/Undocumument_RCE_PLY-yacc-CVE-2025-56005","tags":[]},{"url":"https://github.com/tom025/ply_exploit_rejection/issues/1","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/23/4","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/23/5","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/28/5","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/29/1","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/29/2","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/30/1","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2025-56005","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2431308","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-56005.json","tags":["x_sadp-csaf-vex"]}],"priority":{"score":31.3,"factors":[{"name":"EPSS percentile","points":19.47},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":3,"skipped":0,"earliest":"2026-01-27","earliestUrl":"https://github.com/tom025/ply_exploit_rejection","repos":[{"name":"tom025/ply_exploit_rejection","url":"https://github.com/tom025/ply_exploit_rejection","stars":0,"created":"2026-01-27"},{"name":"gdfurr98/ply-safepickle","url":"https://github.com/gdfurr98/ply-safepickle","stars":0,"created":"2026-09-27"},{"name":"gdfurr98/ply-cve-2025-56005-lab","url":"https://github.com/gdfurr98/ply-cve-2025-56005-lab","stars":0,"created":"2026-09-27"}]},"first":{"date":"2026-01-27","source":"PoC-in-GitHub","url":"https://github.com/tom025/ply_exploit_rejection"},"provenance":"source"},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-01-20T18:47:19.926886Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an undocumented picklefile parameter in the yacc() function of the PLY (Python Lex-Yacc) library version 3.11, which deserializes the supplied .pkl file with pickle.load() without any validation. An attacker who can supply a crafted pickle file to this parameter can achieve code execution through __reduce__(), with the attack vector being network-reachable, requiring no privileges or user interaction, and a low-complexity attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:27:05Z"},"euvd":{"id":"EUVD-2026-3342","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/tom025/ply_exploit_rejection","https://github.com/tom025/ply_exploit_rejection/issues/1"]}