CVE-2025-47771 — Vulnerability in com.powsybl:powsybl-math — CVE...
HIGH
PowSyBl Core allows deserialization of untrusted SparseMatrix data
Published June 19, 2025Updated June 20, 2025Source: osv
Summary
### 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](https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2)
Advisory Timeline
- First published June 19, 2025 (480 days ago).
- Last revised June 20, 2025 — 1 day after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
Maven
Update com.powsybl:powsybl-math to 6.7.2 or later<!-- Update pom.xml dependency version to 6.7.2 for com.powsybl:powsybl-math -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| com.powsybl:powsybl-math | maven | 6.3.0, 6.3.1, 6.3.2, 6.4.0 (+11 more) | 6.7.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—
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
References
- https://github.com/powsybl/powsybl-core/security/advisories/GHSA-f5cx-h789-j959WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-47771ADVISORY
- https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bdWEB
- https://github.com/powsybl/powsybl-corePACKAGE
- https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2WEB
Frequently Asked Questions
- What is CVE-2025-47771?
- PowSyBl Core allows deserialization of untrusted SparseMatrix data This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-47771?
- CVE-2025-47771 affects com.powsybl:powsybl-math. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-47771 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-f5cx-h789-j959
Related CVEs
- CVE-2026-61570HIGH
MPXJ: XXE Vulnerability in MerlinReader
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies