CVE-2025-47771

Source
https://cve.org/CVERecord?id=CVE-2025-47771
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47771.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-47771
Aliases
Published
2025-06-19T23:41:41.357Z
Modified
2026-04-12T15:59:36.375319Z
Severity
  • 8.1 (High) CVSS_V4 - 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 CVSS Calculator
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).

Database specific
{
    "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"
    ]
}
References

Affected packages

Git / github.com/powsybl/powsybl-core

Affected ranges

Type
GIT
Repo
https://github.com/powsybl/powsybl-core
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Type
GIT
Repo
https://github.com/powsybl/powsybl-core
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*
v1.1.0
v2.*
v2.0.0
v2.1.0
v2.2.0
v2.3.0
v2.4.0
v2.5.0
v2.6.0
v3.*
v3.0.0
v3.3.0-RC1
v3.5.0-RC1
v3.7.0-RC1
v3.8.0-RC1
v4.*
v4.0.0-RC1
v4.1.0-RC1
v4.10.0-RC1
v4.2.0-RC1
v4.4.0-RC1
v4.5.0-RC1
v4.6.0-RC1
v4.7.0-RC1
v4.8.0-RC1
v4.9.0-RC1
v5.*
v5.0.0-RC1
v5.1.0-RC1
v5.2.0-RC1
v5.3.0
v6.*
v6.0.0-RC1
v6.1.0
v6.2.0-RC1
v6.3.0
v6.4.0-RC1
v6.5.0-RC1
v6.6.0-RC1
v6.7.0
v6.7.0-RC1
v6.7.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47771.json"
vanir_signatures_modified
"2026-04-12T15:59:36Z"
vanir_signatures
[
    {
        "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"
    }
]