CVE-2025-48059

Low

Description

PowSyBl (Power System Blocks) is a framework to build power system oriented software. In 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, there is a a potential polynomial Regular Expression Denial of Service (ReDoS) vulnerability in the RegexCriterion class. This class compiles and evaluates an unvalidated, user-supplied regular expression against the identifier of an Identifiable object via Pattern.compile(regex).matcher(id).find(). 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. This issue has been patched in com.powsybl:powsybl-iidm-criteria 6.7.2.

SeverityLow
CVSS2.7
Exploit probability—
ProductCom.powsybl:powsybl-iidm-criteria
PublishedJun 20, 2025
First seenJun 20, 2025
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • com.powsybl:powsybl-iidm-criteria6.7.2 or later
  • com.powsybl:powsybl-contingency-api6.3.0 or later

Affected products

ProductAffected versionsFixed in
com.powsybl:powsybl-iidm-criteriaMaven6.3.0 ≤ v < 6.7.26.7.2
com.powsybl:powsybl-contingency-apiMaven5.0.0 ≤ v < 6.3.06.3.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.