{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-56005 exists.","fix":"No fix published yet.","what":"CVE-2025-56005 is a critical unsafe deserialization vulnerability in n/a, published on 20 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-56005 and fix it if it is affected.\n\nWhat it is: CVE-2025-56005 is a critical unsafe deserialization vulnerability in n/a, published on 20 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-56005 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-56005/ (Markdown: https://insights.sbomify.com/CVE-2025-56005/index.md)","id":"CVE-2025-56005","markdown":"https://insights.sbomify.com/CVE-2025-56005/index.md","name":"CVE-2025-56005","record":{"aliases":["DEBIAN-CVE-2025-56005","GHSA-qc6m-pwr3-g72p","MGASA-2026-0079","OESA-2026-1481","OESA-2026-1594","OESA-2026-1595","OESA-2026-1596","OESA-2026-1597","UBUNTU-CVE-2025-56005","openSUSE-SU-2026:10418-1"],"analysis":{"component_type":"library","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Python Lex-Yacc library","requires_auth":"none","summary":"An undocumented feature in the PLY library allows remote code execution via unsafe deserialization of pickle files passed to the yacc function.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ply","vendor":"dabeaz"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-01-27","github_poc":3,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-01-27T11:34:45Z","kind":"github_poc","ref":"https://github.com/tom025/ply_exploit_rejection","stars":0,"title":"Arguments to reject CVE-2025-56005"},{"date":"2026-09-27T22:18:04Z","kind":"github_poc","ref":"https://github.com/gdfurr98/ply-safepickle","stars":0,"title":"This is a modified version of PLY 3.11, from PyPI (current defunct git repo is not current to PyPI) which reimplements the pickle function in yacc.py to resolve CVE-2025-56005."},{"date":"2026-09-27T22:49:37Z","kind":"github_poc","ref":"https://github.com/gdfurr98/ply-cve-2025-56005-lab","stars":0,"title":"Lab demonstrating that CVE-2025-56005 is real and does allow arbitrary code execution at a minimum (the debate about RCE notwithstanding here), and shows that ply-safepickle does block the exploit path."}],"tier":"weaponised"},"has_fix":true,"headline":"Deserialization in n/a","id":"CVE-2025-56005","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2025"},"n_packages":1,"n_references":4,"next":{"headline":"Other in n/a","id":"CVE-2025-56007"},"packages":[{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.8.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-jsonpath-ng","purl":"pkg:rpm/opensuse/python-jsonpath-ng\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10418-1"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2025-55998"},"products":["n/a"],"published":"2026-01-20","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-17","vendors":["n/a"]},"summary":"An undocumented feature in the PLY library allows remote code execution via unsafe deserialization of pickle files passed to the yacc function.","url":"https://insights.sbomify.com/CVE-2025-56005/"}