CVE-2025-48059
Java vulnerability analysis and mitigation

Overview

PowSyBl (Power System Blocks), a framework for building power system oriented software, contains a potential polynomial Regular Expression Denial of Service (ReDoS) vulnerability in the RegexCriterion class. The vulnerability affects com.powsybl:powsybl-iidm-criteria versions 6.3.0 to before 6.7.2 and com.powsybl:powsybl-contingency-api versions 5.0.0 to before 6.3.0. The vulnerability was discovered and disclosed in May 2025 (MITRE CVE).

Technical details

The vulnerability exists in the RegexCriterion class which compiles and evaluates an unvalidated, user-supplied regular expression against the identifier of an Identifiable object via Pattern.compile(regex).matcher(id).find(). The vulnerability requires two attacker-controlled conditions: control over the regex input passed into the constructor (e.g., malicious pattern like (.*a){10000}) and control or influence over the output of Identifiable.getId() (e.g., a long string like 'aaaa...!' that forces excessive backtracking) (GitHub Advisory).

Impact

If successfully exploited, a malicious actor can cause significant CPU exhaustion through repeated or recursive filter(...) calls, especially if performed over large network models or filtering operations. While not as dangerous as catastrophic exponential ReDoS, the polynomial pattern still induces significant performance degradation as input size increases (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in com.powsybl:powsybl-iidm-criteria version 6.7.2. Users are recommended to upgrade to this version or higher to address the vulnerability (GitHub Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management