CVE-2025-56005
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`
02 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`
03 Exploitation and scoring
- Exploitation
- Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
- SSVC decision
- ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 18.80% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.2% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-09-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-01-20 00:00Z9 MO AGO
- Last updated
- 2026-09-17 12:04Z1 MO AGO
- Reserved
- 2025-08-16
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Critical (CVSS 9.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502Deserialization of Untrusted DataBase
- Data version
- 5.2
- Document digest
- cbff06be05ec190634a7dad0fd2e8f916db2be199a67fa6feb068caeef2fcec1
05 Affected products
06 References
- github.comhttps://github.com/bohmiiidd/Undocumented-RCE-in-PLY
- github.comhttps://github.com/tom025/ply_exploit_rejection
- github.comhttps://github.com/bohmiiidd/Undocumument_RCE_PLY-yacc-CVE-2025-56005
- github.comhttps://github.com/tom025/ply_exploit_rejection/issues/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/01/23/4
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/01/23/5
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/01/28/5
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/01/29/1
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/01/29/2
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2026/01/30/1
- access.redhat.comhttps://access.redhat.com/security/cve/CVE-2025-56005
- bugzilla.redhat.comRHBZ#2431308https://bugzilla.redhat.com/show_bug.cgi?id=2431308
- security.access.redhat.comhttps://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-56005.json
07 Fixed in
Debian 12
- ply No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- ply No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- ply No fix yet
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- ply No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- ply No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- ply No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 22.04 LTS
- ply No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- ply No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 25.10
- ply No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.