8.1high
PowSyBl Core allows deserialization of untrusted SparseMatrix data
- Severity
- 8.1high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-f5cx-h789-j959
Description
PowSyBl (Power System Blocks) is a framework to build power system oriented software. In versions 6.3.0 to 6.7.1, there is a deserialization issue in the read method of the SparseMatrix class that can lead to a wide range of privilege escalations depending on the circumstances. This method takes in an InputStream and returns a SparseMatrix object. This issue has been patched in com.powsybl:powsybl-math: 6.7.2. A workaround for this issue involves not using SparseMatrix deserialization (SparseMatrix.read(...) methods).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| powsybl powsybl-core | >= 6.3.0, < 6.7.2 | CVE List |
| com.powsybl:powsybl-math (Maven) | from 6.3.0 before 6.7.2 | GitHub Advisory Database |
All scores
| GitHub_M | 8.1high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
PowSyBl (Power System Blocks) is a framework to build power system oriented software. In versions 6.3.0 to 6.7.1, there is a deserialization issue in the read method of the SparseMatrix class that can lead to a wide range of privilege escalations depending on the circumstances. This method takes in an InputStream and returns a SparseMatrix object. This issue has been patched in com.powsybl:powsybl-math: 6.7.2. A workaround for this issue involves not using SparseMatrix deserialization (SparseMatrix.read(...) methods).
GitHub Advisory Database
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
InputStreamand the application parses it into aSparseMatrix. 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
InputStreamfrom 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
NVD (es)
PowSyBl (Power System Blocks) es un framework para crear software orientado a sistemas de energía. En las versiones 6.3.0 a 6.7.1, existe un problema de deserialización en el método de lectura de la clase SparseMatrix que puede provocar diversas escaladas de privilegios según las circunstancias. Este método recibe un InputStream y devuelve un objeto SparseMatrix. Este problema se ha corregido en com.powsybl:powsybl-math: 6.7.2. Una solución alternativa consiste en no utilizar la deserialización de SparseMatrix (métodos SparseMatrix.read(...)).
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-47771 changed 2025-06-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f5cx-h789-j959 changed 2025-06-20 | CC-BY-4.0 |
| NVD | CVE-2025-47771 changed 2026-06-17 | Public domain |