Skip to main content

Apache Fory CVE-2026-71558

| EUVDEUVD-2026-54422 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-08-07 apache GHSA-rwv5-p9fv-c8fp
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach Fory C++ deserialization endpoint
  2. Delivery
    Deliver crafted polymorphic smart-pointer payload
  3. Exploit
    Bypass type-compatibility check
  4. Execution
    Trigger heap type confusion
  5. Persist
    Corrupt object layout / vtable dispatch
  6. Impact
    Crash service or execute arbitrary code

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The application must actively use Apache Fory C++ polymorphic smart-pointer deserialization (deserializing base-class smart pointers such as shared_ptr/unique_ptr where the concrete type is chosen from the payload) on input an attacker can control - the vendor explicitly states applications not using this feature are not affected. Given the CVSS vector (AV:N/AC:L/PR:N/UI:N), no authentication or user interaction is required once such a deserialization endpoint is exposed to attacker-supplied bytes, and the running Fory C++ version must be between 0.14.0 and 1.4.x inclusive. The limiting factor is therefore configuration/usage-specific rather than universal: only the polymorphic smart-pointer code path is vulnerable, so services using non-polymorphic or concrete-type deserialization, or not exposing the deserializer to untrusted input, are out of scope; achieving code execution (versus a crash) is further limited by the difficulty of reliably exploiting heap type confusion in a given build.

Impact

The signals are mixed. CVSS 3.1 is 9.8 with AV:N/AC:L/PR:N/UI:N/C:H/I:H/A:H, implying trivial remote unauthenticated compromise, but that score assumes any application that feeds attacker-controlled bytes into Fory's polymorphic smart-pointer deserialization - a specific, non-universal code path the vendor explicitly notes must be in use. EPSS is low (0.21%, 11th percentile) and the CVE is not on CISA KEV, and no public exploit is identified at time of analysis, so there is currently no evidence of widespread or automated exploitation. The genuine severity driver is the C:H/I:H/A:H potential of heap type confusion, but reliably converting type confusion in C++ into arbitrary code execution is generally non-trivial and payload/build-dependent, whereas denial of service (crash) is far easier. Net: treat as a high-priority patch for any C++ service that deserializes untrusted input via Fory polymorphic smart pointers, but the low EPSS and feature-gated exploitation suggest this is not yet a mass-exploitation event - DoS is the most probable near-term real-world impact, RCE the worst-case.

Exploit ScenarioDerived

An attacker sends a service a Fory-serialized payload that declares a polymorphic smart pointer to some base class but embeds a type descriptor for an incompatible concrete type, slipping past the compatibility check. On deserialization the C++ runtime constructs and dispatches through the wrong object layout, corrupting the heap; in the simplest case this crashes the service (DoS), and with a carefully engineered payload the type confusion could be steered toward arbitrary code execution. No public exploit code is identified at time of analysis, and reliable RCE would require build-specific memory-layout work.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 07, 2026

Heap type confusion in the Apache Fory C++ deserialization engine (versions 0.14.0 up to but not including 1.5.0) lets a crafted payload bypass type-compatibility checks during polymorphic smart-pointer deserialization, so an object of an incompatible type is handled as its declared base type. Because CWE-502 untrusted-data handling here corrupts memory rather than merely mis-parsing values, an attacker who controls serialized input can trigger undefined behavior ranging from denial of service to arbitrary code execution. This is rated CVSS 9.8 and is fixed in 1.5.0; there is no public exploit identified at time of analysis and EPSS is low at 0.21%.

Earlier versions of this analysis (1)
v1 Aug 07, 2026 - 09:46

Heap type confusion in Apache Fory C++ (versions 0.14.0 through pre-1.5.0) allows an attacker supplying a crafted serialized payload to bypass type compatibility enforcement during polymorphic smart-pointer deserialization, causing an incompatible object to be treated as the declared base type. The resulting undefined behavior can manifest as denial of service or, under favorable heap conditions, arbitrary code execution. No public exploit has been identified at time of analysis, no CVSS score has been assigned, and CISA KEV does not list this as actively exploited.

RemediationAI

Vendor-released patch: upgrade Apache Fory to 1.5.0, which contains the fix, per the Apache advisory (https://lists.apache.org/thread/oywndv60jwqdv6j37t7bc1qbcc4b235r) and the oss-security announcement (http://www.openwall.com/lists/oss-security/2026/08/07/3). If you cannot upgrade immediately, the most direct compensating control is to stop deserializing untrusted or externally-sourced payloads through Fory's polymorphic smart-pointer path, since applications that do not use that feature are not affected - where feasible, avoid polymorphic (base-class smart-pointer) deserialization of attacker-influenced data and use concrete non-polymorphic types, at the cost of losing polymorphic serialization functionality. Additionally, restrict and authenticate the network sources that can submit serialized data and validate/whitelist expected message sources upstream so that untrusted input never reaches the deserializer; note these controls reduce exposure but do not remove the underlying bug, so they are stopgaps until 1.5.0 is deployed. Cite only version 1.5.0 as the confirmed fixed release.

Affected VersionsENISA

Apache Fory 0.14.0 <1.5.0

Affected Packages

euvd apache_fory fix: 1.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Fory (formerly Fury) is a cross-language, high-performance serialization framework; the affected component is its C++ runtime. The flaw is a CWE-502 (Deserialization of Untrusted Data) defect that manifests as heap type confusion: during polymorphic deserialization of smart pointers (e.g. std::shared_ptr/unique_ptr to a base class), Fory is supposed to verify that the concrete type in the payload is compatible with the declared base type before constructing it. The bug allows that check to be bypassed, so bytes describing one type are interpreted through the vtable/layout of an incompatible type. In C++ this breaks memory-safety invariants - mismatched object layouts, invalid vtable dispatch, and unsafe pointer reinterpretation - which is the classic path from type confusion to controlled memory corruption. Only code paths that use Fory's polymorphic smart-pointer deserialization exercise the vulnerable logic.

Know when Apache Fory gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 9.8 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.1 HIGH

Network-reachable and unauthenticated once the polymorphic path is exposed (AV:N/PR:N), but reliable exploitation of heap type confusion into code execution is build-dependent and feature-gated, so AC:H; full C/I/A impact on the process.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Aug 07, 2026 - 18:28 vuln.today
v2 - CVSS changed
CVSS changed
Aug 07, 2026 - 18:22 NVD
9.8 (CRITICAL)
Patch available
Aug 07, 2026 - 10:16 EUVD
CVE Published
Aug 07, 2026 - 08:54 cve.org
HIGH

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

A critical vulnerability in Apache Fory (versions 0.14.0-1.4.x) allows attackers who control serialized data to execute arbitrary code or cause denial of service. While no public exploit has been identified at the time of analysis, the extreme severity demands immediate remediation to protect against data breach and system compromise.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche cross-language serialization framework; C++ polymorphic path narrower still
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy