Skip to main content

EUVDEUVD-2025-18706

| CVE-2025-47771 HIGH
Deserialization of Untrusted Data (CWE-502)
2025-06-20 security-advisories@github.com GHSA-f5cx-h789-j959
8.1
CVSS 4.0 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

CVSS 8.1 (High) with a network attack vector (AV:N), low attack complexity (AC:L), and no privilege requirements (PR:N) or user interaction (UI:N) indicates a readily exploitable vulnerability. The vector shows complete compromise of confidentiality, integrity, and availability (VC:H/VI:H/VA:H) with no scope change. However, EPSS status is marked as U (Unknown/Unavailable), limiting real-world exploitation probability assessment. The absence of KEV (CISA Known Exploited Vulnerabilities) status and lack of confirmed public POC availability suggest this is either newly disclosed (January 2025) or not yet actively exploited in the wild. The patch availability (6.7.2) released by the maintainers reduces risk for organizations that can update. Critical risk applies to: (1) Internet-exposed PowSyBl instances accepting untrusted serialized matrix input, (2) systems in critical infrastructure (power grids) where availability/integrity breaches have cascading consequences, (3) applications without input validation or deserialization filtering. Organizations unable to patch should consider this a priority for compensating controls.

Exploit ScenarioDerived

An attacker targeting a power grid management system using PowSyBl crafts a malicious serialized Java object disguised as a SparseMatrix. The object contains a gadget chain (e.g., Apache Commons Collections, Spring Framework) that executes arbitrary commands. The attacker sends this via: (1) Direct network connection to an API endpoint accepting matrix data, (2) Injected into a data file (CSV/binary matrix format) that the application deserializes, or (3) Man-in-the-middle attack intercepting legitimate matrix transmission. Upon deserialization via SparseMatrix.read(inputStream), the gadget chain executes with the application's privileges, allowing the attacker to: read sensitive power grid topology, modify contingency analysis parameters, inject false data into models, or establish persistent backdoor access. In critical infrastructure scenarios, this could enable grid destabilization attacks. The network-accessible attack vector (no authentication required) makes this immediately exploitable if the vulnerable code path is exposed to untrusted input. No user interaction is required; exploitation is fully automated and deterministic.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 15, 2026

PowSyBl versions 6.3.0 through 6.7.1 contain an unsafe deserialization vulnerability in the SparseMatrix.read() method that allows remote attackers to achieve arbitrary code execution and privilege escalation without authentication or user interaction. The vulnerability affects the powsybl-math library, a core component of the Power System Blocks framework used in power grid management software. Exploitation requires only network access to an application exposing the vulnerable deserialization method.

RemediationAI

Upgrade com.powsybl:powsybl-math to version 6.7.2 or later; priority: Critical; details: Update Maven dependency or rebuild PowSyBl distribution with patched library Workaround: Disable or avoid use of SparseMatrix.read(...) methods; priority: High; details: Refactor code to not deserialize SparseMatrix objects from untrusted sources. Use alternative serialization formats (JSON, XML with schema validation) or pre-computed matrix representations. Mitigation: Implement input validation and deserialization filtering; priority: High; details: Use Java deserialization filters (JEP 290) to block untrusted classes. Wrap SparseMatrix.read() calls with try-catch and log suspicious deserialization attempts. Restrict network access to APIs exposing matrix deserialization. Detection: Monitor for exploitation attempts; details: Audit application logs for ClassNotFoundException, StreamCorruptedException, or SecurityException during object deserialization. Monitor for unexpected process spawning or file system access following matrix data ingestion.

Affected VersionsENISA

powsybl-core 6.3.0, < 6.7.2

Affected Packages

maven com.powsybl:powsybl-math fix: 6.7.2
euvd powsybl_core_6_3_0 fix: 6.7.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the SparseMatrix class's read() method (CWE-502: Deserialization of Untrusted Data), which accepts an InputStream and reconstructs a SparseMatrix object without proper validation. PowSyBl is a framework for building power system software, with the vulnerable component being com.powsybl:powsybl-math library versions 6.3.0-6.7.1. The root cause is unsafe Java deserialization where an attacker can craft a malicious serialized object that, when deserialized by the vulnerable read() method, executes arbitrary code. This is a classic gadget-chain attack vector leveraging Java's serialization mechanism. The attack surface includes any application using PowSyBl's SparseMatrix deserialization capabilities, particularly in power flow analysis, contingency analysis, or network computation modules that consume untrusted matrix data.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.1 HIGH
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

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Jun 20, 2025 - 00:15 nvd
HIGH 8.1

DescriptionGitHub Advisory

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).

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 141 maven packages depend on com.powsybl:powsybl-math (4 direct, 137 indirect)

Ecosystem-wide dependent count for version 6.3.0.

Executive ViewAI

Why It Matters

PowSyBl versions 6.3.0 through 6.7.1 contain a deserialization vulnerability that could allow attackers to execute arbitrary code and escalate privileges within power systems software applications. Organizations using affected versions must immediately assess their exposure and implement compensating controls, as no patch is currently available.

Business Impact: High
Compensating Controls

Disable SparseMatrix.read() methods where possible; implement strict network access controls limiting service exposure; deploy web application firewalls to detect and block serialized Java object payloads; apply input validation to reject untrusted data sources; enable serialization filtering at the JVM level; monitor application logs for ClassNotFoundException and deserialization errors; consider code-level patches to wrap SparseMatrix usage with safe deserialization libraries.

Threat Intelligence Overview

EPSS Score
0.2%
Top 59% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy