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.
Published: 2026-08-07
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A heap type confusion flaw in Apache Fory’s C++ polymorphic smart‑pointer deserialization permits a crafted payload to bypass type compatibility checks. The vulnerability allows an attacker to cause an object of an incompatible type to be interpreted as the declared base type, leading to undefined behavior that may manifest as denial‑of‑service or arbitrary code execution. The weaknesses are identified as CWE‑502 and CWE‑843. The CVSS score of 9.8 confirms the severity, and the potential for RCE indicates a high‑risk impact.

Affected Systems

The flaw affects Apache Fory from version 0.14.0 up to but not including 1.5.0. The affected vendor is the Apache Software Foundation. Applications that rely on Apache Fory’s polymorphic smart‑pointer deserialization are susceptible; those that do not use this deserialization path remain unaffected.

Risk and Exploitability

The CVSS score of 9.8 indicates a severe vulnerability, and the EPSS score of < 1% shows a very low but non‑zero exploitation probability. The vulnerability is not listed in CISA’s KEV catalog. Despite the low EPSS, the potential for arbitrary code execution necessitates that organizations treat it as high risk. Based on the description, an attacker would need to supply a maliciously crafted payload that targets the deserialization process; the specific delivery mechanisms are not described, so we cannot confirm whether network services, files, or other input interfaces are involved. The absence of publicly known exploits does not diminish the intrinsic danger posed by this type confusion.

Generated by OpenCVE AI on August 12, 2026 at 00:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official Apache Fory 1.5.0 update or later, which resolves the type‑confusion bug.
  • If upgrading is delayed, restrict or disable the use of polymorphic smart‑pointer deserialization when it is not required, and ensure that all input sources are authenticated and sanitized.
  • Perform a code review and audit all deserialization points to enforce strict type validation and monitor for anomalous deserialization activity.

Generated by OpenCVE AI on August 12, 2026 at 00:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 07 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 07 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache fory
Vendors & Products Apache
Apache fory

Fri, 07 Aug 2026 09:30:00 +0000

Type Values Removed Values Added
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.
Title Apache Fory: Heap type confusion in C++ polymorphic smart-pointer deserialization
Weaknesses CWE-502
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-08-07T17:48:23.240Z

Reserved: 2026-08-07T07:01:06.753Z

Link: CVE-2026-71558

cve-icon Vulnrichment

Updated: 2026-08-07T15:17:52.680Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-07T10:16:59.337

Modified: 2026-08-08T00:52:49.367

Link: CVE-2026-71558

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T00:30:03Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')