{"id":"CVE-2025-47771","aliases":["CVE-2025-47771","GHSA-f5cx-h789-j959"],"related":[],"kind":"vulnerability","state":"published","title":"PowSyBl Core allows deserialization of untrusted SparseMatrix data","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"},{"lang":"en","text":"### Impact\n_What kind of vulnerability is it? Who is impacted?_\n\nThis is a disclosure for a security vulnerability in the `SparseMatrix` class. The vulnerability is a deserialization issue that\ncan lead to a wide range of privilege escalations depending on the circumstances. The problematic area is the `read` method\nof the `SparseMatrix` class.\nThis method takes in an `InputStream` and returns a `SparseMatrix` object. We consider this to be a method that can be\nexposed to untrusted input in at least two use cases:\n- A user can adopt this method in an application where users can submit an `InputStream` and the application parses it into\na `SparseMatrix`. This can be a multi-tenant application that hosts many different users perhaps with different privilege\nlevels.\n- A user adopts the method for a local tool but receives the `InputStream` from external sources.\n\n#### Am I impacted?\nYou are vulnerable if you import non-controlled serialized `SparseMatrix` objects.\n\n\n### Patches\ncom.powsybl:powsybl-math:6.7.2 and higher\n\n\n### Workarounds\n_Is there a way for users to fix or remediate the vulnerability without upgrading?_\n\nDo not use `SparseMatrix` deserialization (`SparseMatrix.read(...)` methods).\n\n### References\n[powsybl-core v6.7.2](https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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(...)).","source":"nvd"}],"published":"2025-06-19T16:19:16.000Z","modified":"2026-06-17T09:28:39.817Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":">= 6.3.0, < 6.7.2","status":"affected"}],"vendor":"powsybl","product":"powsybl-core","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"6.3.0","status":"affected","fixed":"6.7.2"}],"ecosystem":"Maven","package":"com.powsybl:powsybl-math","purl":"pkg:maven/com.powsybl/powsybl-math","source":"ghsa"}],"references":[{"url":"https://github.com/powsybl/powsybl-core/security/advisories/GHSA-f5cx-h789-j959","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47771","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/powsybl/powsybl-core","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-20T15:55:17.774Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-47771","url":"https://www.cve.org/CVERecord?id=CVE-2025-47771","licence":"CVE Terms of Use","modified":"2025-06-20T15:55:29.328Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f5cx-h789-j959","url":"https://github.com/advisories/GHSA-f5cx-h789-j959","licence":"CC-BY-4.0","modified":"2025-06-20T16:25:12.264Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-47771","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47771","licence":"Public domain","modified":"2026-06-17T09:28:39.817Z"}],"updatedAt":"2026-11-25T22:58:59.410Z","epss":{"score":0.00537,"percentile":0.46698,"date":"2026-12-01T12:00:22.000Z"}}