CVE-2025-54364CWE-1333

Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module

Medium · published August 20, 2025

CVSS v4.0
6.9
EPSS
0%
Percentile
28.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS
0.00357 · 28.2th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2025-08-20T00:00Z
EPSS history
Timeline
  • 20 AUG 00:00Z
    Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module
    cvelistv5