Skip to main content

Apache Fory CVE-2026-64608

| EUVDEUVD-2026-46171 CRITICAL
Deserialization of Untrusted Data (CWE-502)
2026-07-21 security@apache.org GHSA-wh2x-66qr-23v8
9.8
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Identify service deserializing Fory C++ input
  2. Delivery
    Craft payload with mismatched field types
  3. Exploit
    Send to compatible-mode deserializer
  4. Execution
    Trigger heap type confusion and OOB write
  5. Persist
    Corrupt heap memory
  6. Impact
    Achieve code execution or crash

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

Exploitation requires that the target application uses the Apache Fory C++ implementation (versions 0.14.0 to before 1.4.0) AND performs deserialization in 'compatible mode' on data the attacker can influence - compatible mode is the specific configuration whose field-skip paths contain the flaw. The attacker must be able to deliver a serialized payload with an intentionally inconsistent/mismatched schema to that deserialization routine. Limiting factors: services using other Fory language bindings are unaffected, services not using compatible mode do not reach the vulnerable code, and turning out-of-bounds memory access into reliable code execution (rather than a crash) requires exploit-development effort. Per the CVSS vector (AV:N/AC:L/PR:N/UI:N) no authentication or user interaction is needed once such a deserialization endpoint is exposed.

Impact

The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H = 9.8) describes a remote, unauthenticated, low-complexity flaw with total impact, which on its face is a top-tier priority. However, real-world risk is gated by two facts the CVSS score does not capture: exploitation requires the target application to (a) use the C++ implementation specifically and (b) deserialize attacker-reachable data in compatible mode, and reliable weaponization of heap type confusion into code execution generally demands non-trivial exploit development. No EPSS score, KEV listing, or SSVC decision data was provided, and no public proof-of-concept was identified, so the current signal is 'high theoretical severity, unproven exploitation.' The absence of KEV and POC suggests this is not yet under active or widespread attack, but the CWE-502 memory-corruption class in a network-facing serializer is exactly the profile that attracts exploit research once patches are diffed - treat as urgent-to-patch even though live exploitation is not confirmed.

Exploit ScenarioDerived

An attacker sends a serialized Fory payload with deliberately mismatched field type tags to a network service that deserializes untrusted input using the Apache Fory C++ library in compatible mode. The field-skip path misinterprets the declared types, producing heap type confusion and an out-of-bounds write that the attacker grooms toward memory corruption, potentially achieving code execution or crashing the service. No public proof-of-concept is currently known, so exploitation would require original exploit development.

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

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

Alert me

AnalysisAIv1 – Jul 21, 2026

Memory corruption in Apache Fory's C++ serialization library (versions 0.14.0 up to but not including 1.4.0) lets remote attackers trigger heap type confusion and out-of-bounds read/write by supplying data with an inconsistent schema when deserialization runs in compatible mode. Because the field-skip code paths never validate declared field types against the actual bytes, a crafted payload can corrupt heap memory, creating a path toward remote code execution or denial of service. There is no public exploit identified at time of analysis and it is not on CISA KEV, but the CWE-502 root cause and 9.8 CVSS score make it a high-priority patch for any service that deserializes untrusted input with the C++ implementation.

RemediationAI

Vendor-released patch: 1.4.0 - upgrade the Apache Fory C++ library to 1.4.0 or later, which corrects the field-skip type validation; this is the primary and recommended fix per the Apache advisory (https://lists.apache.org/thread/wl05slf57zzoq1s4pg4tk6nx6mjyjr4b). If you cannot upgrade immediately, the most effective compensating control is to avoid deserializing untrusted or externally-sourced data with the affected C++ builds, and specifically to disable or avoid compatible mode where the schema-evolution path is not strictly required, since compatible mode is the code path that reaches the vulnerable field-skip logic (trade-off: you lose cross-version schema flexibility and may break clients that rely on evolving schemas). Additionally restrict which network sources can submit serialized payloads to affected services (network ACLs / authentication in front of the deserialization endpoint), accepting that this only narrows the attack surface rather than closing the flaw. Confirm the vuldb record (https://vuldb.com/vuln/380833) and vendor thread for any updated guidance.

Affected VersionsENISA

Apache Fory 0.14.0 <1.4.0

Affected Packages

euvd apache_fory fix: 1.4.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 high-performance multi-language serialization framework used to encode and decode object graphs for RPC, caching, and big-data pipelines; only its C++ implementation is affected here, while Java, Python, Go and other bindings are not. The flaw sits in 'compatible mode,' the schema-evolution mode where the reader may encounter fields it does not recognize and must skip them. The field-skip logic trusts the type declared in the incoming stream rather than reconciling it against the expected/actual data, so a mismatched type tag causes the reader to interpret bytes as the wrong type (heap type confusion) and to index outside allocated buffers (out-of-bounds read/write). This maps to CWE-502 (Deserialization of Untrusted Data): the deserializer reconstructs state from attacker-controlled input without sufficient validation, and in an unmanaged C++ context that manifests as direct memory-safety violations rather than logic-level object injection.

Know when 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 unauthenticated deserialization (AV:N/PR:N), but AC:H because it needs compatible-mode config plus a crafted mismatched-schema payload to reliably corrupt the heap; full memory-safety impact gives C/I/A:H.

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:N/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
CVSS changed
Jul 21, 2026 - 14:22 NVD
9.8 (CRITICAL)
Patch available
Jul 21, 2026 - 11:02 EUVD
CVE Published
Jul 21, 2026 - 10:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 21, 2026 - 10:16 cve.org
CRITICAL 9.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Apache Fory's C++ serialization library (versions 0.14.0-1.3.x) contains a critical vulnerability enabling remote code execution on systems deserializing untrusted data. No public exploit identified at time of analysis, but the availability of a patch makes this immediately addressable.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche newer Apache serialization framework, C++ binding a narrow subset
Data Quality
6 sources
Confidence: High

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.4%
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

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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.

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