1. CVE archive
  2. Vulnerability types
  3. CWE-321
CWE-321 · #112 most frequent type in the archive

Use of Hard-coded Cryptographic Key

The product uses a hard-coded, unchangeable cryptographic key.

Part of: CWE-798 · Use of Hard-coded Credentials

308CVEs of this type in the archive
84critical (CVSS ≥ 9)
113high severity (7–8.9)
Nov 27, 2026latest published

What it is

The product uses a hard-coded, unchangeable cryptographic key.

Impact on systems

ScopeImpact
Access Control Bypass Protection Mechanism, Gain Privileges or Assume Identity, Read Application Data
If hard-coded cryptographic keys are used, it is almost certain that malicious users will gain access through the account in question. The use of a hard-coded cryptographic key significantly increases the possibility that encrypted data may be recovered.

How to prevent it

Architecture and Design Prevention schemes mirror that of hard-coded password storage.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-321 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20152
20161
20181
20193
20203
20216
20222
202311
202429
202564
2026186

All CWE-321 CVEs

308 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.