{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-56005","id":"CVE-2025-56005","title":"An undocumented and unsafe feature in the PLY (Python Lex-Yacc) library 3.11 allows Remote Code Execution (RCE) via t…","description":"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","descriptionLong":"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.","published":"2026-01-20T00:00:00.000Z","updated":"2026-10-28T02:30:43.025742861Z","reserved":"2025-08-16T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-502"],"aliases":[],"references":[{"url":"https://github.com/bohmiiidd/Undocumented-RCE-in-PLY","tags":["Exploit","Third Party Advisory","package"]},{"url":"https://github.com/tom025/ply_exploit_rejection","tags":["Exploit","Mitigation","Third Party Advisory","package"]},{"url":"https://github.com/bohmiiidd/Undocumument_RCE_PLY-yacc-CVE-2025-56005","tags":["Exploit","Third Party Advisory","package"]},{"url":"https://github.com/tom025/ply_exploit_rejection/issues/1","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/23/4","tags":["Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/23/5","tags":["Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/28/5","tags":["Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/29/1","tags":["Exploit","Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/29/2","tags":["Mailing List","web"]},{"url":"http://www.openwall.com/lists/oss-security/2026/01/30/1","tags":["web"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-56005","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2431308","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-56005.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/56xxx/CVE-2025-56005.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56005","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.18807,"epssPercentile":0.97339,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-56005","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-56005","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-56005","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-56005","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["EPSS 19% with CVSS 7.8"],"attention":null}