CVE-2025-59328: Fory core Apache Fory Deserialization Of Untrusted Vulnerability
MODERATECVE-2025-59328 is a MODERATE (CVSS 6.5) apache fory deserialization of untrusted vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Fory core libraries in the Maven ecosystem. The issue involves apache fory deserialization of untrusted data vulnerability. Remediation is available by upgrading affected packages to version 0.12.2.
CVE-2025-59328 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2025-59328
To remediate this vulnerability, upgrade all affected Fory core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
<version>0.12.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.fory
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-59328, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.fory
Analyze the terminal output to locate any version of Fory core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.12.2), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.fory command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Fory core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-59328 Affected Fory core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.fory:fory-core
|
Maven |
< 0.12.2
|
0.12.2
|
References
Frequently Asked Questions
What is CVE-2025-59328?
Which Fory core versions are affected?
What version fixes CVE-2025-59328?
Is fory-core affected?
What is the CVSS score of CVE-2025-59328?
What CWE is associated with CVE-2025-59328?
How can I check Maven dependencies for CVE-2025-59328?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5hmf-8wx5-4qq3",
"modified" : "2025-11-05T20:44:32Z",
"published" : "2025-09-15T18:31:06Z",
"aliases" : [ "CVE-2025-59328" ],
"summary" : "Apache Fory Deserialization of Untrusted Data vulnerability",
"details" : "A vulnerability in Apache Fory allows a remote attacker to cause a Denial of Service (DoS). The issue stems from the insecure deserialization of untrusted data. An attacker can supply a large, specially crafted data payload that, when processed, consumes an excessive amount of CPU resources during the deserialization process. This leads to CPU exhaustion, rendering the application or system using the Apache Fory library unresponsive and unavailable to legitimate users.\n\nUsers of Apache Fory are strongly advised to upgrade to version 0.12.2 or later to mitigate this vulnerability. Developers of libraries and applications that depend on Apache Fory should update their dependency requirements to Apache Fory 0.12.2 or later and release new versions of their software.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.fory:fory-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.12.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59328"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/fory/pull/2578"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/fory/commit/c3b4d3fe389e38495aeb8301d75da1ab658f0c6e"
}, {
"type" : "WEB",
"url" : "https://fory.apache.org/security"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/fory"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/fory/releases/tag/v0.12.2"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/09/15/1"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-09-15T23:31:43Z",
"nvd_published_at" : "2025-09-15T17:15:36Z"
}
}