NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-61622: Apache Pyfory python is vulnerable to deserialization of untrusted data

criticalCVSS 3.1 9.8GHSA-538v-3wq9-4h3r

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.

Published Oct 1, 2025 · Updated Nov 5, 2025

Affected packages

pyfory

Ecosystem
PyPI
Affected
>= 0.12.0, < 0.12.3
Fixed in
0.12.3
Check
pip show pyfory

pyfury

Ecosystem
PyPI
Affected
>= 0.1.0, <= 0.10.3
Fixed in
No patched version yet
Check
pip show pyfury

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries