CVE-2025-56005
A public proof of concept exists; no exploitation attested.
- Published2026-01-20
- WeaknessCWE-502
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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 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.
Timeline
dates in UTC- 2026-01-2019:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.11 | = 3.11 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- plyUbuntu:25.10all versions · no fixed version listed
- plyUbuntu:24.04:LTSall versions · no fixed version listed
- plyUbuntu:22.04:LTSall versions · no fixed version listed
- plyUbuntu:20.04:LTSall versions · no fixed version listed
- plyUbuntu:18.04:LTSall versions · no fixed version listed
- plyUbuntu:16.04:LTSall versions · no fixed version listed
- plyDebian:14all versions · no fixed version listed
- plyDebian:13all versions · no fixed version listed
8 more package ranges on OSV.dev
Vendor advisories
ply: python-ply: Unsafe pickle file handling in Ply
rhmtc/openshift-migration-rhel8-operator as a component of Migration Toolkit for Containers · migration-toolkit-virtualization/mtv-must-gather-rhel8 as a component of Migration Toolkit for Virtualization · migration-toolkit-virtualization/mtv-rhel9-operator as a component of Migration Toolkit for Virtualization · +44 more
Fix
- Workaround from the vendor Red Hat Product Security CVE-2025-56005 · 47 productsExploitation requires an application to explicitly use PLY's undocumented `picklefile` parameter when calling `ply.yacc.yacc()` and requires an attacker to be able to supply or modify the pickle file that is loaded. Applications can avoid this issue by not using the undocumented `picklefile` parame…
- No fix available, says the vendor Red Hat Product Security CVE-2025-56005 · 29 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2025-56005 · 18 productsWill not fix
Advisories and patches
- github.comMitigation
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2026-01-20
- PoC-in-GitHub3 repositories, unverifiedknown since 2026-11-01tom025/ply_exploit_rejectiongdfurr98/ply-safepicklegdfurr98/ply-cve-2025-56005-lab
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionpoc2026-01-20
- CISA-ADPCVSS 3.19.82026-01-20
- CNACVSS 3.17.8known since 2026-10-23
- CISA-ADPweakness (CWE)CWE-5022026-01-20
- CNAweakness (CWE)CWE-502known since 2026-10-23
- FIRST EPSSEPSS score18.8 %read 2026-11-09
- PoC-in-GitHubproof of concept3known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2026-3342same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-qc6m-pwr3-g72psame flawGitHub Advisory Database · CC-BY-4.0
- MGASA-2026-0079advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-1481advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1594advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1595advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1596advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1597advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:10418-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-01-20
- Last Modified
- 2026-09-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-qc6m-pwr3-g72p
Frequently asked questions
What is CVE-2025-56005?
Is CVE-2025-56005 actively exploited?
What is the CVSS score for CVE-2025-56005?
Running ply? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-24061KEVsame week
- CVE-2026-23760KEVsame weekSmarterTools SmarterMail < Build 9511 Authentication Bypass via Password Reset API
- CVE-2026-24423KEVsame weekSmarterTools SmarterMail < Build 9511 Unauthenticated RCE via ConnectToHub API
- CVE-2026-21962KEVsame week
- CVE-2026-0770KEVsame week
- CVE-2026-20045KEVsame weekCisco Unified Communications Products Remote Code Execution Vulnerability
- CVE-2026-0769same week
- CVE-2022-25369same week
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-qc6m-pwr3-g72p
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0