CVE-2025-10492: Jasperreports JasperReports Has A Java Deserialisation Vulnerability
HIGHCVE-2025-10492 is a HIGH (CVSS 9.8) jasperreports has a java deserialisation vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Jasperreports libraries in the Maven ecosystem. The issue involves jasperreports has a java deserialisation vulnerability. Remediation is available by upgrading affected packages to version 7.0.4.
CVE-2025-10492 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2025-10492
To remediate this vulnerability, upgrade all affected Jasperreports 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>net.sf.jasperreports</groupId>
<artifactId>jasperreports</artifactId>
<version>7.0.4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=net.sf.jasperreports
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-10492, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=net.sf.jasperreports
Analyze the terminal output to locate any version of Jasperreports in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 7.0.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=net.sf.jasperreports 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 Jasperreports, 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-10492 Affected Jasperreports Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
net.sf.jasperreports:jasperreports
|
Maven |
< 7.0.4
|
7.0.4
|
References
Frequently Asked Questions
What is CVE-2025-10492?
Which Jasperreports versions are affected?
What version fixes CVE-2025-10492?
Is jasperreports affected?
What is the CVSS score of CVE-2025-10492?
What CWE is associated with CVE-2025-10492?
How can I check Maven dependencies for CVE-2025-10492?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7c3f-cg9x-f3gr",
"modified" : "2026-03-09T21:51:00Z",
"published" : "2025-09-16T18:31:27Z",
"aliases" : [ "CVE-2025-10492" ],
"summary" : "JasperReports has a Java deserialisation vulnerability",
"details" : "A Java deserialisation vulnerability has been discovered in the Jaspersoft Library. Improper handling of externally supplied data may allow attackers to execute arbitrary code remotely on systems that use the affected library.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "net.sf.jasperreports:jasperreports"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "7.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10492"
}, {
"type" : "WEB",
"url" : "https://github.com/Jaspersoft/jasperreports/issues/542"
}, {
"type" : "WEB",
"url" : "https://github.com/Jaspersoft/jasperreports/commit/3541a3e2b1ad8b78388ac505091da75cb652a647"
}, {
"type" : "WEB",
"url" : "https://github.com/Jaspersoft/jasperreports/commit/827c2f27c4ca8e2c5b3142d76df9c1c8575f3569"
}, {
"type" : "WEB",
"url" : "https://community.jaspersoft.com/advisories/jaspersoft-security-advisory-september-16-2025-jaspersoft-library-cve-2025-10492-r6"
}, {
"type" : "WEB",
"url" : "https://community.jaspersoft.com/forums/topic/69926-cve-2025-10492-%E2%80%93-no-fix-available-after-jasperreports-upgrade-community-edition"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Jaspersoft/jasperreports"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-09T19:55:24Z",
"nvd_published_at" : "2025-09-16T17:15:40Z"
}
}