NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2025-47771: PowSyBl Core allows deserialization of untrusted SparseMatrix data

highCVSS 4.0 8.1GHSA-f5cx-h789-j959

Impact What kind of vulnerability is it? Who is impacted? This is a disclosure for a security vulnerability in the SparseMatrix class. The vulnerability is a deserialization issue that can lead to a wide range of privilege escalations depending on the circumstances. The problematic area is the read method of the SparseMatrix class. This method takes in an InputStream and returns a SparseMatrix object.

Published Jun 19, 2025 · Updated Jun 20, 2025

Affected packages

com.powsybl:powsybl-math

Ecosystem
Maven
Affected
>= 6.3.0, <= 6.7.1
Fixed in
6.7.2
Check
mvn dependency:tree -Dincludes=com.powsybl:powsybl-math

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

_What kind of vulnerability is it? Who is impacted?_

This is a disclosure for a security vulnerability in the SparseMatrix class. The vulnerability is a deserialization issue that can lead to a wide range of privilege escalations depending on the circumstances. The problematic area is the read method of the SparseMatrix class. This method takes in an InputStream and returns a SparseMatrix object. We consider this to be a method that can be exposed to untrusted input in at least two use cases:

  • A user can adopt this method in an application where users can submit an InputStream and the application parses it into

a SparseMatrix. This can be a multi-tenant application that hosts many different users perhaps with different privilege levels.

  • A user adopts the method for a local tool but receives the InputStream from external sources.

Am I impacted?

You are vulnerable if you import non-controlled serialized SparseMatrix objects.

Patches

com.powsybl:powsybl-math:6.7.2 and higher

Workarounds

_Is there a way for users to fix or remediate the vulnerability without upgrading?_

Do not use SparseMatrix deserialization (SparseMatrix.read(...) methods).

References

powsybl-core v6.7.2

Credited to arthurscchan, AdamKorcz, olperr1, rolnico.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology