6.9

CVE-2025-54363: microsoft knack

CVSS: 6.9v4.0MediumDeferred
AliasesGHSA-6fxp-p9mg-q64wUBUNTU-CVE-2025-54363DEBIAN-CVE-2025-54363
Published 20-08-2025Last modified 21-08-2025

Vulnerability summary

CVE-2025-54363 is a medium (CVSS 6.9) vulnerability in microsoft knack. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 34.4% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.41%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 20-08-2025
    PublishedVulnerability first disclosed.
  2. 21-08-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.41%

Chance of exploitation in the next 30 days

Percentile

34%

Versus all other CVEs

30-day change

+0.02 pp

From 0.40% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.41%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard7 products
  • az< 2.79.0-r0
  • py3-knack< 0.12.0-r3
  • py3-supported-knack< 0.12.0-r3
  • py3.10-knack< 0.12.0-r3
  • py3.11-knack< 0.12.0-r3
Wolfi7 products
  • az< 2.79.0-r0
  • py3-knack< 0.12.0-r3
  • py3-supported-knack< 0.12.0-r3
  • py3.10-knack< 0.12.0-r3
  • py3.11-knack< 0.12.0-r3
Debian1 product
  • knackAll versions (No fix recorded)
Microsoft1 product
PyPI1 product
  • knack≤ 0.12.0
Ubuntu1 product
  • knackAll versions (No fix recorded)

6 vendors · 18 products

References

9 links