{"id":"CVE-2025-48059","state":"PUBLISHED","title":"PowSyBl Core Contains a Polynomial ReDoS in RegexCriterion","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.","publishedAt":"2025-06-20T16:50:35.974Z","updatedAt":"2025-06-20T17:37:30.252Z","severity":{"score":2.7,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["powsybl powsybl-core"],"affected":[{"vendor":"powsybl","product":"powsybl-core","versions":[{"version":">= 6.3.0, < 6.7.2","status":"affected"},{"version":">= 5.0.0, < 6.3.0","status":"affected"}]}],"references":["https://github.com/powsybl/powsybl-core/security/advisories/GHSA-8qjw-9xgm-c9ff","https://github.com/powsybl/powsybl-core/commit/d8398f689a5ccd505bd62eee2bd6670a29133110","https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/48xxx/CVE-2025-48059.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-48059","state":"PUBLISHED","datePublished":"2025-06-20T16:50:35.974Z","dateUpdated":"2025-06-20T17:37:30.252Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-15T16:06:40.940Z"},"containers":{"cna":{"title":"PowSyBl Core Contains a Polynomial ReDoS in RegexCriterion","descriptions":[{"lang":"en","value":"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":[{"vendor":"powsybl","product":"powsybl-core","versions":[{"version":">= 6.3.0, < 6.7.2","status":"affected"},{"version":">= 5.0.0, < 6.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/powsybl/powsybl-core/security/advisories/GHSA-8qjw-9xgm-c9ff","name":"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","name":"https://github.com/powsybl/powsybl-core/commit/d8398f689a5ccd505bd62eee2bd6670a29133110","tags":["x_refsource_MISC"]},{"url":"https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2","name":"https://github.com/powsybl/powsybl-core/releases/tag/v6.7.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":2.7,"baseSeverity":"LOW","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-06-20T16:50:35.974Z"},"source":{"advisory":"GHSA-8qjw-9xgm-c9ff","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-20T17:37:14.297952Z","id":"CVE-2025-48059","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-20T17:37:30.252Z"}}]}}}