Security Resilience

CWE · MITRE source

CWE-321Use of Hard-coded Cryptographic Key

Abstraction: Variant · CVEs in our corpus: 468

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

Last updated: 29 November 2026 15:34 UTC

Cumulative inbound coverage

How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.

Collective: full · 46 mapping(s) from 4 framework(s): ATT&CK 33 (full) · ISO_IEC_27002_2022 8 (mostly) · 4 (mostly) · 800-53 1 (full)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A04:2025 Cryptographic Failures.

Control responseHuman-reviewed

Answering this weakness across the control lifecycle, from our framework cross-walks.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • SA-12 Supply Chain Protection
  • SA-4 Acquisition Process
  • SC-12 Cryptographic Key Establishment and Management
  • SC-17 Public Key Infrastructure Certificates
Detect
Catch it (CSF Detect / Respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)

—

Our mappings

NIST 800-53 r5 controls PROPOSED for this weakness (5)

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

Control Title Family Why it addresses this CWE
SC-12Cryptographic Key Establishment and ManagementSCgraded full Proper key establishment and management processes directly preclude embedding static cryptographic keys in source code or binaries.
SA-12Supply Chain ProtectionSASupply chain protection includes scrutiny of cryptographic implementations, reducing hard-coded keys planted by untrusted vendors.
SA-4Acquisition ProcessSAFunctional and assurance requirements specified in acquisition can prohibit hard-coded cryptographic keys in delivered products.
SC-17Public Key Infrastructure CertificatesSCApproved PKI issuance and trust stores replace ad-hoc or hard-coded keys with properly managed, signed certificates.
SR-6Supplier Assessments and ReviewsSRAssessments can uncover and prevent suppliers from shipping components that contain hard-coded cryptographic keys.
Our mappings

MITRE ATT&CK techniques this weakness enables

Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing).

Direction: ← other covers this; → this covers other (F/M/P = full / mostly / partial). gov = governs / implements (a mandate, not coverage).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2016-4437 KEV 9.99.80.93042016-06-07
CVE-2025-30406 KEV 8.99.00.24462025-04-03
CVE-2020-10884 8.38.80.39102020-03-25
CVE-2020-6990 8.09.80.05892020-03-16
CVE-2023-27584 7.99.80.04672024-09-19
CVE-2026-25505 7.89.80.03522026-02-04
CVE-2026-26335 7.89.80.03092026-02-13
CVE-2026-74233 7.89.80.03372026-08-27
CVE-2017-14021 7.79.80.01922017-11-01
CVE-2016-9335 7.710.00.01552018-05-09
CVE-2021-40119 7.79.80.02502021-11-04
CVE-2023-32169 7.79.80.02252024-05-03
CVE-2024-5296 7.79.80.02342024-05-23
CVE-2025-57174 7.79.80.01902025-09-15
CVE-2026-47410 7.79.80.02332026-07-21
CVE-2026-89026 7.79.80.02702026-09-15
CVE-2026-867087.710.00.02712026-09-23
CVE-2018-0040 7.69.80.01432018-07-11
CVE-2022-22987 7.69.80.01302022-02-04
CVE-2022-0664 7.69.80.01572022-02-18
CVE-2024-30207 7.610.00.01032024-05-14
CVE-2025-30206 7.69.80.01622025-04-15
CVE-2025-34215 7.69.80.01342025-09-29
CVE-2025-34256 7.69.80.01362025-12-05
CVE-2026-258947.69.80.01432026-02-09