CVE-2026-64608 PUBLISHED

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

Assigner: apache
Reserved: 20.07.2026 Published: 21.07.2026 Updated: 21.07.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache Fory
Versions Default: unaffected
  • affected from 0.14.0 to 1.4.0 (excl.)

Credits

  • Nguyen Van Hiep (@hypnguyen1209) from MBBank reporter

References

Problem Types

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