CVE catalog

CVE-2025-54363

knack: CVE-2025-54363

[CVE catalog]

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.

DistributionPackageReleaseVersionStatus
Debianknacksid0.14.0-1vulnerable
Debianknackforky0.14.0-1vulnerable
Debianknacktrixie0.12.0-2vulnerable
Debianknackbookworm0.10.1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianknacksourcesid(unfixed)unimportantNot reported[1111774]
Debianknacksourceforky(unfixed)unimportantNot reported[1111774]
Debianknacksourcetrixie(unfixed)unimportantNot reported[1111774]
Debianknacksourcebookworm(unfixed)unimportantNot reported[1111774]

[Debian bug #1111774]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-knack]Affected

    Source package: [knack]

    Details (4)
    • 0.10.1-1 · all · bookworm

      Affected

      dsa · knack · debian · bookworm; dsa · knack · debian · 12

    • 0.10.1-1 · all · bookworm

      Affected

      dsa · knack · debian · bookworm; dsa · knack · debian · 12

    • 0.12.0-1~bpo12+1 · all · bookworm-backports

      Affected

      dsa · knack · debian · bookworm; dsa · knack · debian · 12

    • 0.12.0-1~bpo12+1 · all · bookworm-backports

      Affected

      dsa · knack · debian · bookworm; dsa · knack · debian · 12

[Debian 13 (Trixie)]

  • [python3-knack]Affected

    Source package: [knack]

    Details (2)
    • 0.12.0-2 · all · trixie

      Affected

      dsa · knack · debian · 13

    • 0.12.0-2 · all · trixie

      Affected

      dsa · knack · debian · 13

Observed:

References