CVE-2026-64608
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.81% (higher than 54% of CVEs)
Published
Last changed
Assigned by
apache

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.

Affected

Product or packageVersionsReported by
Apache Software Foundation Apache Foryfrom 0.14.0 before 1.4.0CVE List
apache foryfrom 0.14.0 before 1.4.0NVD

Classification

CWE-502CWE-787CWE-843

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

Confusión de tipos en el heap y lectura/escritura fuera de límites en la implementación de Apache Fory en C++. Al deserializar datos en modo compatible, las rutas de omisión de campos no validan correctamente los tipos de campo declarados con respecto a los datos reales, por lo que una entrada con un esquema inconsistente puede causar confusión de tipos y acceso a memoria fuera de límites. Solo la implementación en C++ se ve afectada; otras implementaciones de Apache Fory en otros lenguajes no lo están. Este problema afecta a Apache Fory C++: desde la versión 0.14.0 hasta antes de la 1.4.0. Se recomienda a los usuarios actualizar a la versión 1.4.0, que corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64608 changed 2026-07-21CVE Terms of Use
NVDCVE-2026-64608 changed 2026-10-24Public domain