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.
Published: 2026-07-21
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Mon, 27 Jul 2026 23:30:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache fory
Vendors & Products Apache
Apache fory

Tue, 21 Jul 2026 14:30:00 +0000

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'}


Tue, 21 Jul 2026 10:15:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-07-21T18:28:16.365Z

Reserved: 2026-07-20T08:33:04.879Z

Link: CVE-2026-64608

cve-icon Vulnrichment

Updated: 2026-07-21T18:28:16.365Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T18:00:15Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-787

    Out-of-bounds Write

  • CWE-843

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