Skip to content

ply-3.11-py2.py3-none-any.whl: 1 vulnerabilities (highest severity is: 9.8) #618

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - ply-3.11-py2.py3-none-any.whl

Python Lex & Yacc

Library home page: https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl

Path to dependency file: /SuperCluster/macOS/Python/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info

Found in HEAD commit: bf9b5034b2c35dc796e701683484607b4e0bbde4

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (ply version) Remediation Possible**
CVE-2025-56005 Critical 9.8 ply-3.11-py2.py3-none-any.whl Direct N/A

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-56005

Vulnerable Library - ply-3.11-py2.py3-none-any.whl

Python Lex & Yacc

Library home page: https://files.pythonhosted.org/packages/a3/58/35da89ee790598a0700ea49b2a66594140f44dec458c07e8e3d4979137fc/ply-3.11-py2.py3-none-any.whl

Path to dependency file: /SuperCluster/macOS/Python/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info,/tmp/ws-ua_20260325185413_DRVGIN/python_CCRPUY/202603251915401/env/lib/python3.9/site-packages/ply-3.11.dist-info

Dependency Hierarchy:

  • ply-3.11-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: bf9b5034b2c35dc796e701683484607b4e0bbde4

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2026-01-20

URL: CVE-2025-56005

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions