Vulnerabilities in pkg:pypi/pyfury
PACKAGECVE-2025-61622 is a CRITICAL (CVSS 9.8) apache pyfory python is vulnerable vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Pyfory libraries in the PyPI ecosystem. The issue involves apache pyfory python is vulnerable to deserialization of untrusted data. Remediation is available by upgrading affected packages to version 0.12.3.
pkg:pypi/pyfury
Vulnerability advisories affecting package pkg:pypi/pyfury. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-538v-3wq9-4h3r | CVE-2025-61622 | CRITICAL | Apache Pyfory python is vulnerable to deserialization of untrusted data |
CVE-2025-61622 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-61622
To remediate this vulnerability, upgrade all affected Pyfory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pyfory>=0.12.3
pip install pyfury>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pyfory
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2025-61622, inspect your installed packages using pip:
pip show pyfory
Analyze the terminal output to locate any version of Pyfory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.3), your application is affected.
Note: The pip show pyfory command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Pyfory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-61622 Affected Pyfory Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pyfory
|
PyPI |
≥ 0.12.0
< 0.12.3
|
0.12.3
|
|
pyfury
|
PyPI |
≥ 0.1.0
≤ 0.10.3
|
|
References
Frequently Asked Questions
What is CVE-2025-61622?
Which Pyfory versions are affected?
What version fixes CVE-2025-61622?
Is pyfory affected?
Is pyfury affected?
What is the CVSS score of CVE-2025-61622?
What CWE is associated with CVE-2025-61622?
How can I check PyPI dependencies for CVE-2025-61622?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-538v-3wq9-4h3r",
"modified" : "2025-11-05T20:47:02Z",
"published" : "2025-10-01T12:30:27Z",
"aliases" : [ "CVE-2025-61622" ],
"summary" : "Apache Pyfory python is vulnerable to deserialization of untrusted data",
"details" : "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.\n\nUsers are recommended to upgrade to pyfory version 0.12.3 or later, which has removed pickle fallback serializer and thus fixes this issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyfory"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.12.0"
}, {
"fixed" : "0.12.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "pyfury"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.1.0"
}, {
"last_affected" : "0.10.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-61622"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/fory/pull/2629"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/fory"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/fory/releases/tag/v0.12.3"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/29/3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-10-01T19:38:16Z",
"nvd_published_at" : "2025-10-01T10:15:34Z"
}
}