CVE-2026-71558Published Aug 7, 2026 · Aug 7Updated Nov 7
Apache Fory: Heap type confusion in C++ polymorphic smart-pointer deserialization
Apache Software Foundation Apache Fory
Critical9.8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache Fory |
| No fix yet |
Original description
Heap type confusion vulnerability in Apache Fory C++ deserialization.
This issue affects Apache Fory C++ versions from 0.14.0 before 1.5.0. A crafted input payload can bypass type compatibility checks during polymorphic smart-pointer deserialization, causing an object of an incompatible type to be treated as the declared base type. This may result in undefined behavior and potentially lead to denial of service or arbitrary code execution.
Users are recommended to upgrade to Apache Fory 1.5.0, which fixes this issue. Applications not using Apache Fory C++ polymorphic smart-pointer deserialization are not affected.
From the CVE record · apache