CVE-2025-61622
nicheUnsafe Deserialization RCE in Apache Fory Python (pyfory)
CVE-2025-61622 is a deserialization of untrusted data flaw (CWE-502) in the Python implementation of Apache Fory, a high-performance serialization framework. It is triggered whenever an application deserializes pyfory/pyfury data received from an untrusted source: an attacker crafts a data stream that forces the pickle-fallback serializer to be selected, causing the library to invoke vulnerable `pickle.loads` on attacker-controlled input. Successful exploitation results in arbitrary code execution in the context of the application process, with the critical CVSS 9.8 score reflecting network exploitation with no privileges or user interaction required. Affected users are applications running pyfory 0.12.0 through 0.12.2, or the legacy pyfury package 0.1.0 through 0.10.3, that consume pyfory-serialized data from untrusted sources. No public proof-of-concept or confirmed in-the-wild exploitation is known yet, but EPSS assigns a high 43.5% probability of exploitation within 30 days.
What to do: Upgrade to pyfory 0.12.3 or later, which removes the pickle-fallback serializer and fixes the issue; legacy pyfury (0.1.0-0.10.3) users should migrate to pyfory 0.12.3+. Audit your environment for Python applications that deserialize pyfory/pyfury payloads from untrusted sources (network inputs, message queues, files) and treat those as exposed. If immediate upgrade is not possible, restrict deserialization to trusted peer endpoints that cannot supply attacker-controlled data.
| Apache pyfory | 0.12.0 through 0.12.2 |
| Apache pyfury (legacy package) | 0.1.0 through 0.10.3 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
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.
- Vendors
- apache
- Products
- fory
- Weakness
- CWE-502
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
In the news0 stories
No ingested article mentions this CVE yet.