
CVE catalog
CVE-2025-54363
knack: CVE-2025-54363
- Severity
- Low
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.41% · Oct 25, 2026
Microsoft Knack 0.12.0 allows Regular expression Denial of Service (ReDoS) in the knack.introspection module. extract_full_summary_from_signature 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | knack | sid | 0.14.0-1 | vulnerable |
| Debian | knack | forky | 0.14.0-1 | vulnerable |
| Debian | knack | trixie | 0.12.0-2 | vulnerable |
| Debian | knack | bookworm | 0.10.1-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | knack | source | sid | (unfixed) | unimportant | Not reported | [1111774] |
| Debian | knack | source | forky | (unfixed) | unimportant | Not reported | [1111774] |
| Debian | knack | source | trixie | (unfixed) | unimportant | Not reported | [1111774] |
| Debian | knack | source | bookworm | (unfixed) | unimportant | Not reported | [1111774] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-knack]Affected
Source package: [knack]
Details (4)
0.10.1-1· all · bookwormAffected
dsa · knack · debian · bookworm; dsa · knack · debian · 12
0.10.1-1· all · bookwormAffected
dsa · knack · debian · bookworm; dsa · knack · debian · 12
0.12.0-1~bpo12+1· all · bookworm-backportsAffected
dsa · knack · debian · bookworm; dsa · knack · debian · 12
0.12.0-1~bpo12+1· all · bookworm-backportsAffected
dsa · knack · debian · bookworm; dsa · knack · debian · 12
[Debian 13 (Trixie)]
- [python3-knack]Affected
Source package: [knack]
Details (2)
0.12.0-2· all · trixieAffected
dsa · knack · debian · 13
0.12.0-2· all · trixieAffected
dsa · knack · debian · 13
Observed: