CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8) in dabeaz ply. EPSS 19% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExplain CVE-2025-56005 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-56005?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-56005?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-56005 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| dabeaz:ply | 3.11 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | ply | no fix listed | DEBIAN-CVE-2025-56005 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 3 more | ply | no fix listed | UBUNTU-CVE-2025-56005 |
| openSUSE | Tumbleweed | python-jsonpath-ng | 1.8.0-1.1 | openSUSE-SU-2026:10418-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Important.
This vulnerability rates as Important rather than Critical because it only affects applications using an undocumented parameter (picklefile) in legacy PLY versions 3.2-3.11, which was designed for an atypical use case (Jython environments with oversized parser tables). Exploitation requires the target application to have explicitly implemented this undocumented parameter in their code and depends on the attacker's ability to influence which pickle file gets loaded—whether through shared directory race conditions, configuration injection, supply chain compromise, or chaining with separate vulnerabilities like file upload or path traversal—making this a conditional, context-dependent vulnerability rather than a universally exploitable critical flaw.
Exploitation 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` parameter, which was intended only for an atypical use case (Jython environments with oversized parser tables); applications that do not pass this parameter are not exposed. If cached parser data must be loaded, ensure the pickle file is generated locally by the application and stored in a trusted location that untrusted users cannot write to or replace.
| Product | Package | State | Advisory |
|---|---|---|---|
| Fence Agents Remediation Operator | workload-availability/fence-agents-remediation-rhel9-operator | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-hook-runner-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-rhel8-operator | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-rhel8 | Will not fix | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-rhel9-operator | Will not fix | |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-must-gather-rhel8 | Will not fix | |
| Migration Toolkit for Virtualization | mtv-candidate/mtv-rhel9-operator | Will not fix | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-agent-base-rhel8 | Affected | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-rhel8 | Not affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-console-plugin-rhel8 | Will not fix | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Will not fix | |
| OpenShift Service Mesh 2 | openshift-service-mesh/grafana-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-must-gather-rhel9 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-operator-bundle | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-ossmc-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Not affected | |
| OpenShift Service Mesh 2 | openshift-service-mesh/ratelimit-rhel8 | Not affected | |
| 445 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-56005.
Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.