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-07-22T00:05:51.245308Z
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
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "6.3.0"
        },
        {
            "fixed": "6.7.2"
        }
    ]
}

Affected versions

v6.*
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

vanir_signatures
[
    {
        "digest": {
            "length": 302.0,
            "function_hash": "14259034502516130719030070657732230176"
        },
        "signature_version": "v1",
        "source": "https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd",
        "signature_type": "Function",
        "target": {
            "function": "read",
            "file": "math/src/main/java/com/powsybl/math/matrix/SparseMatrix.java"
        },
        "id": "CVE-2025-47771-a249ac54",
        "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",
        "source": "https://github.com/powsybl/powsybl-core/commit/8ed16ce41683c4aef5f6aa1dd5ae8642aa5ed2bd",
        "signature_type": "Line",
        "target": {
            "file": "math/src/main/java/com/powsybl/math/matrix/SparseMatrix.java"
        },
        "id": "CVE-2025-47771-fccdedf5",
        "deprecated": false
    }
]
vanir_signatures_modified
"2026-07-22T00:05:51Z"
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47771.json"