CVE-2026-71558 PUBLISHED

Apache Fory: Heap type confusion in C++ polymorphic smart-pointer deserialization

Assigner: apache
Reserved: 07.08.2026 Published: 07.08.2026 Updated: 07.08.2026

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.

Product Status

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

Credits

  • Zhixi "Jace Sun", independent security researcher reporter

References

Problem Types

  • CWE-502 Deserialization of Untrusted Data CWE