6.9

CVE-2025-54364: microsoft knack

CVSS: 6.9v4.0MediumDeferred
AliasesGHSA-xh9h-692f-mmg4UBUNTU-CVE-2025-54364DEBIAN-CVE-2025-54364
Published 20-08-2025Last modified 26-08-2025

Vulnerability summary

CVE-2025-54364 is a medium (CVSS 6.9) vulnerability in microsoft knack. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 27.9% 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.36%
0%100%
Low · 0.00 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. 26-08-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

28%

Versus all other CVEs

30-day change

0.00 pp

From 0.36% on 20-09-2026

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

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