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

Related