nday
CVE-2025-61622 GHSA-538v-3wq9-4h3r

Apache Fory, Apache Fory: Python RCE via unguarded pickle fallback serializer in pyfory

Apache Software Foundation / Apache Fory

Patch on record 411 days after disclosure. Patched: fixed in pyfory 0.12.3. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

deserialization of untrusted data
CWE-502, stated by the CNA apache, NVD, republishing [email protected], and GitHub advisory GHSA-538v-3wq9-4h3r
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the ADP CISA-ADP
PyPI
GHSA-538v-3wq9-4h3r: pip packages pyfory, pyfury
stage
PAT
disclosed
disclosure → patch
T+411d
cvss
9.8 CRITICAL v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-10-01T09:55Z
PATpatch
2026-11-16T17:01Z
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by apache. CVSS 9.8, critical.

src cvelist · nday , bulk import · raw
{
  "id": 387099,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-61622",
  "occurred_at": "2025-10-01T09:55:05.557Z",
  "observed_at": "2026-11-13T05:39:17.391522Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.8,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-10-01T13:07:55.196758Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-10-01T09:55:05.557Z",
    "assigner_short_name": "apache"
  }
}
no source time; observed live by nday
+PATpatch released

The advisory gives fixed version pyfory 0.12.3. Fix commits are linked. Advisory published ; the patch's own release time is not recorded.

src ghsa GHSA-538v-3wq9-4h3r · nday , observed live · raw
{
  "id": 473075,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-538v-3wq9-4h3r",
  "occurred_at": null,
  "observed_at": "2026-11-16T17:01:02.573287Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-538v-3wq9-4h3r",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.8,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Deserialization of Untrusted Data",
        "cwe_id": "CWE-502"
      }
    ],
    "ghsa_id": "GHSA-538v-3wq9-4h3r",
    "packages": [
      {
        "name": "pyfory",
        "ecosystem": "pip",
        "first_patched_version": "0.12.3",
        "vulnerable_version_range": ">= 0.12.0, < 0.12.3"
      },
      {
        "name": "pyfury",
        "ecosystem": "pip",
        "first_patched_version": null,
        "vulnerable_version_range": ">= 0.1.0, <= 0.10.3"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2025-61622",
      "https://lists.apache.org/thread/vfn9hp9qt06db5yo1gmj3l114o3o2csd",
      "https://github.com/apache/fory/pull/2629",
      "https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b",
      "https://github.com/apache/fory/releases/tag/v0.12.3",
      "http://www.openwall.com/lists/oss-security/2025/09/29/3",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pyfory/PYSEC-2026-490.yaml",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pyfury/PYSEC-2026-491.yaml",
      "https://pypi.org/project/pyfory",
      "https://pypi.org/project/pyfury",
      "https://github.com/advisories/GHSA-538v-3wq9-4h3r"
    ],
    "fix_commit_urls": [
      "https://github.com/apache/fory/pull/2629",
      "https://github.com/apache/fory/commit/379b948ecae5c3b849e5bdb3997978c9a163e40b"
    ],
    "github_reviewed_at": "2025-10-01T19:38:16Z",
    "advisory_updated_at": "2026-11-16T16:04:39Z",
    "source_code_location": "https://github.com/apache/fory",
    "advisory_published_at": "2025-10-01T12:30:27Z"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.