Advisory

GHSA-538v-3wq9-4h3r

Also known as: CVE-2025-61622, PYSEC-2026-490, PYSEC-2026-491

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.

Users are recommended to upgrade to pyfory version 0.12.3 or later, which has removed pickle fallback serializer and thus fixes this issue.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-10-01 12:30 UTC
Modified
2026-11-16 16:15 UTC

Affected packages and fixes

pyfory

PyPI · All systems

Affected

  • introduced 0.12.0, fixed 0.12.3 (ecosystem)

Fixed versions

0.12.3

Fix

  • Fixed version 0.12.3
    pip install --upgrade pyfory==0.12.3

pyfury

PyPI · All systems

Affected

  • introduced 0.1.0, last affected 0.10.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences