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:41Z
Modified
2026-08-12T15:13:31Z
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
{
    "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

Affected packages

Git / github.com/powsybl/powsybl-core

Affected ranges

Type
GIT
Repo
https://github.com/powsybl/powsybl-core
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "6.3.0"
        },
        {
            "fixed":  "6.7.2"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

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

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47771.json"
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"
        }
    }
]
vanir_signatures_modified
"2026-08-12T15:13:31Z"