CVE-2025-56005Dabeaz Ply
NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Vulnerability Summary
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.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Dabeaz Ply
No patched version published yet
Until a fix ships, reduce exposure:
- Restrict access to the affected service or interface to trusted networks.
- Disable the affected feature if you do not need it.
- Watch the vendor advisory for a firmware or software update.
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Dabeaz Ply and which version.
- No patched version is listed yet. Limit access to the affected service to trusted networks, and disable the feature if you can.
- Subscribe to the vendor advisory so you learn when a fix ships.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jan 20, 2026Published
- Aug 24, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Dabeaz Ply CVEsYou are reading CVE-2025-56005. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Exploithttps://github.com/bohmiiidd/Undocumented-RCE-in-PLY
- Exploithttps://github.com/bohmiiidd/Undocumument_RCE_PLY-yacc-CVE-2025-56005
- Exploithttps://github.com/tom025/ply_exploit_rejection
- Issue Trackinghttps://github.com/tom025/ply_exploit_rejection/issues/1
- Exploithttp://www.openwall.com/lists/oss-security/2026/01/23/4
- Advisoryhttp://www.openwall.com/lists/oss-security/2026/01/23/5
- Exploithttp://www.openwall.com/lists/oss-security/2026/01/28/5
- Exploithttp://www.openwall.com/lists/oss-security/2026/01/29/1
- Advisoryhttp://www.openwall.com/lists/oss-security/2026/01/29/2
- Advisoryhttp://www.openwall.com/lists/oss-security/2026/01/30/1
- Vendor Advisoryhttps://access.redhat.com/security/cve/CVE-2025-56005
- Issue Trackinghttps://bugzilla.redhat.com/show_bug.cgi?id=2431308
- Referencehttps://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-56005.json
Data last checked: Nov 27, 2026 00:27 UTC