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 November 16, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.70%). Schedule for your next planned update.

Does your project use an affected pyfory version?

Paste your requirements.txt to check it for CVE-2025-61622 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

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 (421 days ago).
  • Last revised November 16, 2026 — 411 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: PyPI (2).

PackageFixed In
pyfory PyPI · Affected: 0.12.0, 0.12.1, 0.12.20.12.3
pyfury PyPI · Affected: 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. It has a 1.7% probability of exploitation within 30 days (EPSS score). 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

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
1.70%
EPSS percentile: 77.7

This places it in the top quartile of EPSS-scored vulnerabilities — 77.7% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

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

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt