{"id":"CVE-2025-47771","summary":"PowSyBl Core allows deserialization of untrusted SparseMatrix data","details":"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).","aliases":["GHSA-f5cx-h789-j959"],"modified":"2026-08-12T15:13:31.549527Z","published":"2025-06-19T23:41:41.357Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-502"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47771.json"},"references":[{"type":"WEB","url":"https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47771.json"},{"type":"ADVISORY","url":"https://github.com/powsybl/powsybl-core/security/advisories/GHSA-f5cx-h789-j959"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47771"},{"type":"FIX","url":"https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/powsybl/powsybl-core","events":[{"introduced":"a2f1f99612dcece3d50f8f8c4a488e5951363e0a"},{"fixed":"8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd"},{"fixed":"4fa8b7d8b7138489b8904bfa4620eae0d74378e7"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"6.3.0"},{"fixed":"6.7.2"}]}}],"versions":["v6.7.1","v6.7.0","v6.7.0-RC1","v6.6.0-RC1","v6.5.0-RC1","v6.4.0-RC1","v6.3.0"],"database_specific":{"vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"14259034502516130719030070657732230176","length":302},"id":"CVE-2025-47771-a249ac54","signature_type":"Function","signature_version":"v1","source":"https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd","target":{"file":"math/src/main/java/com/powsybl/math/matrix/SparseMatrix.java","function":"read"}},{"deprecated":false,"digest":{"line_hashes":["7578518796756934152649208955582554032","196798960980349631558901302851677214620","76647020156622089893213440408688380176","49090849709778086780379369199606312984","188886449253726323149618638026155075355","55531061156317752322477350062816477498","108171466055041506572947729096960084431","166252633470801587349910170594691773266","109940746902605558003095020600962985274","327788469573615461296660552876281479003","202770517957062072594246893044452051279","263343867642261910286123738851592738494","198528291602753515133092438920641892696","130357182068326068677366258341761710961","322418009747271096813761896986329186107","108159273160130071499948736052996932426"],"threshold":0.9},"id":"CVE-2025-47771-fccdedf5","signature_type":"Line","signature_version":"v1","source":"https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd","target":{"file":"math/src/main/java/com/powsybl/math/matrix/SparseMatrix.java"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47771.json","vanir_signatures_modified":"2026-08-12T15:13:31Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}