---
id: CVE-2025-61622
title: "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"
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 da…"
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-502
vendor: apache
product: fory
affected:
  - 'fory >= 0.1.0, <= 0.10.3'
  - 'fory >= 0.12.0, <= 0.12.2'
published: '2025-10-01'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T09:10:00.213'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-61622'
references:
  - url: 'https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/09/29/3'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - exploit-available
epss: 0.43506
epssPercentile: 0.98709
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/fa1consec/cve_2025_61622_poc'
  checkedAt: '2026-10-09T09:31:35.730Z'
exploitAvailable: true
ingestedAt: '2026-10-09T09:31:01.000Z'
---

## Overview

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.

## Affected

- `fory >= 0.1.0, <= 0.10.3`
- `fory >= 0.12.0, <= 0.12.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
