CVEfocus › CVE database › CVE-2025-56005

CVE-2025-56005

CVSS 9.8 CriticalEPSS 18.8% (higher than 97% of CVEs)Published 2026-01-20Updated 2026-09-17Assigner: mitre

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.

CWE-502

What to do

Likely to be exploited: EPSS gives a 19% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fix pending
6Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10plyWill not fix
This is only an issue if an application is using the "picklefile" parameter, which is undocumented, in combination with untrusted pickle files. This is…
UBUNTU-CVE-2025-56005
Ubuntu 24.04plyWill not fix
This is only an issue if an application is using the "picklefile" parameter, which is undocumented, in combination with untrusted pickle files. This is…
UBUNTU-CVE-2025-56005
Ubuntu 22.04plyWill not fix
This is only an issue if an application is using the "picklefile" parameter, which is undocumented, in combination with untrusted pickle files. This is…
UBUNTU-CVE-2025-56005
Ubuntu 20.04plyFix pendingUBUNTU-CVE-2025-56005
Ubuntu 18.04plyFix pendingUBUNTU-CVE-2025-56005
Ubuntu 16.04plyFix pendingUBUNTU-CVE-2025-56005
Debian 14plyWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-56005
Debian 13plyWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-56005
Debian 12plyWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-56005
Red Hat Enterprise Linux 10python3-plyNot affected
Red Hat Enterprise Linux 9python3-plyNot affected
Red Hat Enterprise Linux 8python-plyNot affected
Red Hat Enterprise Linux 8python38-plyNot affected
Red Hat Enterprise Linux 8python39-plyNot affected
Red Hat Enterprise Linux 7python-plyNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.