CVE-2025-56005Dabeaz Ply
Critical 9.8 No auth needed
Follow: this CVE · Dabeaz · Dabeaz Ply We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Jan 20, 2026
- Updated
- Sep 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ply.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dabeaz | ply | 3.11 |
Official advisories
- python311-jsonpath-ng-1.8.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10418-1 · Mar 24, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory
- github.com Exploit Mitigation Third Party Advisory
- github.com
- www.openwall.com Exploit Mailing List
- www.openwall.com Mailing List
- www.openwall.com Exploit Mailing List
- www.openwall.com Exploit Mailing List
- www.openwall.com Mailing List
- www.openwall.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com