CVE-2026-64608

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

State
Published
Severity
9.8 Critical
Published
Jul 21, 2026
Updated
Jul 21, 2026
Reserved
Jul 20, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')
  • CWE-787 Out-of-bounds Write
  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
Apache ForyApache Software Foundation
  • 0.14.0 to before 1.4.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.