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).
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47771.json",
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-502"
]
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47771.json"
"2026-04-12T15:59:36Z"
[
{
"target": {
"file": "math/src/main/java/com/powsybl/math/matrix/SparseMatrix.java",
"function": "read"
},
"id": "CVE-2025-47771-a249ac54",
"source": "https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd",
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 302.0,
"function_hash": "14259034502516130719030070657732230176"
},
"signature_version": "v1"
},
{
"target": {
"file": "math/src/main/java/com/powsybl/math/matrix/SparseMatrix.java"
},
"id": "CVE-2025-47771-fccdedf5",
"source": "https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd",
"signature_type": "Line",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"7578518796756934152649208955582554032",
"196798960980349631558901302851677214620",
"76647020156622089893213440408688380176",
"49090849709778086780379369199606312984",
"188886449253726323149618638026155075355",
"55531061156317752322477350062816477498",
"108171466055041506572947729096960084431",
"166252633470801587349910170594691773266",
"109940746902605558003095020600962985274",
"327788469573615461296660552876281479003",
"202770517957062072594246893044452051279",
"263343867642261910286123738851592738494",
"198528291602753515133092438920641892696",
"130357182068326068677366258341761710961",
"322418009747271096813761896986329186107",
"108159273160130071499948736052996932426"
]
},
"signature_version": "v1"
}
]