Skip to main content
CVE-2025-56005VulnerabilityPublished Updated

ply · Undocumented and Unsafe Feature

Affects plySource GCVE Database

0
Compare
Authoritative record:CVE-2025-56005· Critical 9.8

Not known to be exploited · 18% EPSS · CVSS 9.8 Critical.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
18.8% chance of exploitation in 30 days – higher than 97% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 25.10plypkg:deb/ubuntu/ply?arch=source&distro=questingOther threatsAffected
  • =3.11-9
Fixed in–
Ubuntu 24.04 LTSplypkg:deb/ubuntu/ply?arch=source&distro=nobleOther threatsAffected
  • =3.11-5
  • =3.11-6
Fixed in–
Ubuntu 22.04 LTSplypkg:deb/ubuntu/ply?arch=source&distro=jammyOther threatsAffected
  • =3.11-4ubuntu1
  • =3.11-5
Fixed in–
Ubuntu 20.04 LTSplypkg:deb/ubuntu/ply?arch=source&distro=focalOther threatsAffected
  • =3.11-3
  • =3.11-3build1
  • =3.11-3ubuntu0.1
Fixed in–
Ubuntu 18.04 LTSplypkg:deb/ubuntu/ply?arch=source&distro=bionicOther threatsAffected
  • =3.9-1
  • =3.11-1
Fixed in–
Ubuntu 16.04 LTSplypkg:deb/ubuntu/ply?arch=source&distro=xenialOther threatsAffected
  • =3.7-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…