CVE-2025-61622
CRITICAL 9.8CVSS 3.1Apache Pyfory python is vulnerable to deserialization of untrusted data
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.
- Published
- 1 Oct 2025
- Last modified
- 16 Nov 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-502
- Also known as
- GHSA-538v-3wq9-4h3rPYSEC-2026-490PYSEC-2026-491
- Sources
- NVDJSONOSV GHSA-538v-3wq9-4h3rJSONOSV PYSEC-2026-490JSONOSV PYSEC-2026-491JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | forycpe:2.3:a:apache:fory:*:*:*:*:*:*:*:* |
>= 0.1.0, <= 0.10.3 | |
| NVD | apache | forycpe:2.3:a:apache:fory:*:*:*:*:*:*:*:* |
>= 0.12.0, <= 0.12.2 | |
| OSV | PyPI | pyfory | >= 0.12.0, < 0.12.3 | 0.12.3 |
| OSV | PyPI | pyfury | >= 0.1.0, <= 0.10.3 |
References
- https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd · Issue Tracking, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/09/29/3 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-61622 · ADVISORY
- https://github.com/apache/fory/pull/2629 · WEB
- https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b · WEB
- https://github.com/apache/fory · PACKAGE
- https://github.com/apache/fory/releases/tag/v0.12.3 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pyfory/PYSEC-2026-490.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/pyfury/PYSEC-2026-491.yaml · WEB
- https://pypi.org/project/pyfory · WEB, PACKAGE
- https://pypi.org/project/pyfury · WEB, PACKAGE
- https://github.com/advisories/GHSA-538v-3wq9-4h3r · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 1 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Oct 2025)