CVE-2025-10492: Jasperreports JasperReports Has A Java Deserialisation Vulnerability

HIGH
Advisory Identifier: GHSA-7c3f-cg9x-f3gr
CVSS 9.8
CWE-502
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2025-10492
GHSA Identifier GHSA-7c3f-cg9x-f3gr
Severity HIGH
CVSS v3.1 Base Score 9.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Jasperreports
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (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.

net.sf.jasperreports:jasperreports fixed: 7.0.4
<dependency>
    <groupId>net.sf.jasperreports</groupId>
    <artifactId>jasperreports</artifactId>
    <version>7.0.4</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2025-10492 Affected Jasperreports Versions

1 component(s)
Fixed Versions:
7.0.4
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?
CVE-2025-10492 is a security vulnerability in Jasperreports involving JasperReports has a Java deserialisation vulnerability under CWE-502: Deserialization of Untrusted Data.
Which Jasperreports versions are affected?
Affected versions include releases prior to 7.0.4 across affected packages: net.sf.jasperreports:jasperreports.
What version fixes CVE-2025-10492?
Upgrading to 7.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jasperreports affected?
Yes, net.sf.jasperreports:jasperreports is affected in releases prior to 7.0.4. Upgrade your dependency to 7.0.4 or later.
What is the CVSS score of CVE-2025-10492?
CVE-2025-10492 has a CVSS v3.1 base score of 9.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-10492?
CVE-2025-10492 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Maven dependencies for CVE-2025-10492?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=net.sf.jasperreports'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}