Skip to content
OpenAdvisories
Low · 2.7 CVE-2025-48059 EUVD-2025-18766GHSA-8qjw-9xgm-c9ff

PowSyBl Core Contains a Polynomial ReDoS in RegexCriterion

Published Jun 20, 2025 · Updated Jun 20, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
powsybl powsybl-core >= 6.3.0, < 6.7.2, >= 5.0.0, < 6.3.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven com.powsybl:powsybl-contingency-api >= 5.0.0, < 6.3.0 6.3.0 GHSA-8qjw-9xgm-c9ff
Maven com.powsybl:powsybl-iidm-criteria >= 6.3.0, < 6.7.2 6.7.2 GHSA-8qjw-9xgm-c9ff

References