{"id":"CVE-2025-48059","published":"2025-06-20T16:50:35Z","modified":"2025-06-20T17:37:30Z","title":"PowSyBl Core Contains a Polynomial ReDoS in RegexCriterion","vendor":"powsybl","product":"powsybl-core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00832,"percentile":0.54805,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/powsybl/powsybl-core/security/advisories/GHSA-8qjw-9xgm-c9ff","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/powsybl/powsybl-core/commit/d8398f689a5ccd505bd62eee2bd6670a29133110","tags":["x_refsource_MISC"]},{"url":"https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2","tags":["x_refsource_MISC"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":10.96},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"powsybl","affectedVersions":[{"vendor":"powsybl","product":"powsybl-core","versions":[">= 6.3.0, < 6.7.2",">= 5.0.0, < 6.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-20T17:37:14.297952Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.powsybl:powsybl-iidm-criteria","vulnerableRanges":[">=6.3.0, <6.7.2"],"patched":["6.7.2"],"from":["GHSA-8qjw-9xgm-c9ff"],"provenance":"source"},{"ecosystem":"Maven","package":"com.powsybl:powsybl-contingency-api","vulnerableRanges":[">=5.0.0, <6.3.0"],"patched":["6.3.0"],"from":["GHSA-8qjw-9xgm-c9ff"],"provenance":"source"}],"summary":{"text":"PowSyBl Core's RegexCriterion class in the powsybl-iidm-criteria component (versions 6.3.0 to before 6.7.2) and the powsybl-contingency-api component (versions 5.0.0 to before 6.3.0) compiles and evaluates user-supplied regular expressions against object identifiers without validation, creating a polynomial regular expression denial-of-service flaw. An attacker able to supply such a regex and invoke repeated or recursive filter operations, particularly over large network models, can exhaust CPU resources, with no authentication or user interaction indicated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:02:01Z"},"euvd":{"id":"EUVD-2025-18766","exploited":false,"provenance":"source"}}