CVE-2026-64608

Apache Fory: Heap type confusion and out-of-bounds read/write in C++ compatible-mode field-skip paths

Published Jul 21, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
Heap type confusion and out-of-bounds read/write in the Apache Fory C++ implementation. When deserializing data in compatible mode, the field-skip paths do not correctly validate the declared field types against the actual data, so input with an inconsistent schema can cause type confusion and out-of-bounds memory access. Only the C++ implementation is affected; other language implementations of Apache Fory are not.

This issue affects Apache Fory C++: from 0.14.0 before 1.4.0.

Users are recommended to upgrade to version 1.4.0, which fixes the issue.

Analysis

AI-generated

Technical impact

The vulnerability is a heap type confusion combined with an out‑of‑bounds memory read and write in the Apache Fory C++ deserialization logic. When data is processed in compatible mode, the field‑skip routines fail to verify that the declared field type matches the actual payload, allowing an attacker to supply a crafted input that triggers type confusion and memory corruption. This can lead to arbitrary code execution or a crash, compromising confidentiality, integrity, and availability of the affected system.

Affected Systems

Apache Software Foundation’s Apache Fory C++ implementation is impacted, covering versions 0.14.0 through before 1.4.0. The issue does not affect the other language bindings of Apache Fory.

Risk and Exploitability

The CVSS base score of 9.8 signifies high severity, and the EPSS value of less than 1% indicates a low exploitation probability in the current environment, although the vulnerability remains a high-risk due to the lack of remediation in affected installations. Based on the description, it is inferred that an attacker could supply crafted serialized data to a vulnerable deserialization endpoint, typically via any network interface exposed by the Fory server. No public exploit code has been disclosed and the vulnerability is not listed in CISA’s KEV catalog, but given the critical score, organizations should treat it as a high‑risk exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch in Apache Fory 1.4.0 or later
  • If the application cannot be upgraded immediately, quarantine the affected component and restrict deserialization traffic to trusted sources only
  • Implement input validation to ensure data matches before deserialization, following best practices for avoiding type confusion and out‑of‑bounds access.

Generated by OpenCVE AI on July 30, 2026 at 17:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:fory:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Apache
Apache fory
Vendors & Products Apache
Apache fory
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Heap type confusion and out-of-bounds read/write in the Apache Fory C++ implementation. When deserializing data in compatible mode, the field-skip paths do not correctly validate the declared field types against the actual data, so input with an inconsistent schema can cause type confusion and out-of-bounds memory access. Only the C++ implementation is affected; other language implementations of Apache Fory are not. This issue affects Apache Fory C++: from 0.14.0 before 1.4.0. Users are recommended to upgrade to version 1.4.0, which fixes the issue.
Title Apache Fory: Heap type confusion and out-of-bounds read/write in C++ compatible-mode field-skip paths
Weaknesses CWE-502
CWE-787
CWE-843
References
Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-787

    Out-of-bounds Write

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jul 21, 2026, 6:28 PM
Reserved
Jul 20, 2026, 8:33 AM
Status
Analyzed
Published
Jul 21, 2026, 10:16 AM
Modified
Oct 24, 2026, 8:10 PM