VYPR
Medium severityGHSA Advisory· Published Aug 20, 2025· Updated Apr 15, 2026

CVE-2025-54364

CVE-2025-54364

Description

Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. option_descriptions employs an inefficient regular expression pattern: "\s(:param)\s+(.+?)\s:(.*)" that is susceptible to catastrophic backtracking when processing crafted docstrings containing a large volume of whitespace without a terminating colon. An attacker who can control or inject docstring content into affected applications can trigger excessive CPU consumption. This software is used by Azure CLI.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
knackPyPI
<= 0.12.0

Affected products

1

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.