PYFORY · CVE-2025-61622 · Package
FIX → 0.12.3
pyfory, a Python serialization library, and its legacy pyfury name deserialize data by falling back to pickle when an attacker-crafted stream selects that serializer. An attacker who can supply serialized data to an application that reads it gets arbitrary code execution through pickle.loads.
first public Oct 1, 2025 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Applications that call pyfory (or the legacy pyfury package) to deserialize data that comes from untrusted sources are exposed. Systems that only deserialize data they produced themselves, or that never receive pyfory data from outside, are not exposed by this flaw. Look at services that accept serialized payloads over the network or from message queues.
Not affected if pyfory-at-0.12.3-or-later, trusted-data-only
Who cares data-serialization, pyfory, pyfury, python
pip show pyfory and pip show pyfury to see the installed versions.Deserialization of untrusted data in python in pyfory versions 0.12.0 through 0.12.2, or the legacy pyfury versions from 0.1.0 through 0.10.3: allows arbitrary code execution. An application is vulnerable if it reads pyfory serialized data from untrusted sources. An attacker can craft a data stream that selects pickle-fallback serializer during deserialization, leading to the execution of pickle.loads, which is vulnerable to remote code execution.
Users are recommended to upgrade to pyfory version 0.12.3 or later, which has removed pickle fallback serializer and thus fixes this issue.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
Upgrade to 0.12.3
0.12.3 or later, which removes the pickle fallback serializer.0.10.3 only.GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.