Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-56005: n/a

0
Critical
VulnerabilityCVE-2025-56005cvecve-2025-56005
Published: Tue Jan 20 2026 (01/20/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/11/2026, 11:27:28 UTC

Technical Analysis

The vulnerability CVE-2025-56005 affects the PLY (Python Lex-Yacc) library version 3.11, specifically an undocumented feature in the `yacc()` function that accepts a `picklefile` parameter. This parameter allows the function to load a `.pkl` file using Python's `pickle.load()` method without any validation or sanitization. Since the `pickle` module inherently supports executing arbitrary code during deserialization via the `__reduce__()` method, an attacker who can supply a malicious pickle file can achieve remote code execution (RCE) on the host system. The feature is undocumented both in official documentation and the GitHub repository but is present in the PyPI-distributed version, making it a stealthy backdoor vector. The vulnerability is classified under CWE-502 (Deserialization of Untrusted Data), a common and severe security flaw. The CVSS v3.1 score is 9.8 (critical), reflecting that the attack can be performed remotely over the network without authentication or user interaction, and can fully compromise confidentiality, integrity, and availability of the affected system. Despite a third-party claim that the proof of concept does not fully demonstrate arbitrary code execution, the fundamental unsafe deserialization pattern is widely recognized as a critical security risk. No official patches or fixes have been released yet, and no known exploits have been observed in the wild. This vulnerability poses a significant risk to any Python applications or services that incorporate PLY 3.11 and potentially expose the `yacc()` function with the `picklefile` parameter to untrusted inputs.

Potential Impact

For European organizations, this vulnerability presents a severe threat, especially for those relying on Python-based parsing, compilation, or code analysis tools that use the PLY library version 3.11. Successful exploitation can lead to full system compromise, allowing attackers to execute arbitrary commands, deploy malware, steal sensitive data, or establish persistent backdoors. The stealthy nature of the undocumented parameter increases the risk of unnoticed exploitation and persistence. Critical infrastructure, financial institutions, research organizations, and software development companies in Europe that use PLY in their internal or customer-facing applications are particularly at risk. The vulnerability could also be leveraged in supply chain attacks if malicious pickle files are introduced into development or deployment pipelines. Given the high CVSS score and the lack of patches, the potential impact on confidentiality, integrity, and availability is critical, potentially resulting in data breaches, operational disruption, and reputational damage.

Mitigation Recommendations

1. Immediately audit all Python projects and environments for usage of PLY version 3.11, focusing on any invocation of the `yacc()` function. 2. Avoid using the undocumented `picklefile` parameter entirely until an official patch or guidance is released. 3. If deserialization of pickle files is necessary, implement strict validation and whitelist controls on input files to ensure they originate from trusted sources only. 4. Employ runtime monitoring and anomaly detection to identify unusual or unauthorized use of the `yacc()` function or unexpected pickle file loading. 5. Consider isolating or sandboxing environments where PLY is used to limit the blast radius of potential exploitation. 6. Engage with the PLY maintainers or community to track patch releases and apply updates promptly once available. 7. Educate developers and security teams about the risks of unsafe deserialization and the specific threat posed by this vulnerability. 8. Review and enhance supply chain security practices to prevent introduction of malicious pickle files into development or deployment workflows.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2025-08-16T00:00:00.000Z
Cvss Version
null
State
PUBLISHED

Threat ID: 696fcb0c4623b1157c474bca

Added to database: 1/20/2026, 6:35:56 PM

Last enriched: 2/11/2026, 11:27:28 AM

Last updated: 3/26/2026, 2:51:06 AM

Views: 168

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses