Loading...
Skip to main content

CVE-2025-61622 — Vulnerability in pyfory — CVE Details

CRITICAL

Apache Pyfory python is vulnerable to deserialization of untrusted data

Published October 1, 2025Updated June 29, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published October 1, 2025 (376 days ago).
  • Last revised June 29, 2026 — 271 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update pyfory to 0.12.3 or later
pip install "pyfory>=0.12.3"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: pypi (2).

PackageEcosystemAffectedFixed In
pyfory
pypi
0.12.0, 0.12.1, 0.12.20.12.3
pyfury
pypi
0.10.2, 0.10.2rc1, 0.10.3, 0.2.0 (+10 more)Range-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-61622?
Apache Pyfory python is vulnerable to deserialization of untrusted data This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-61622?
CVE-2025-61622 affects pyfory and pyfury. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-61622 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-538v-3wq9-4h3r
PYSEC-2026-490
PYSEC-2026-491

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies