CWE · MITRE source
CWE-321Use of Hard-coded Cryptographic Key
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)
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.
—
—
—
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-12 | Cryptographic Key Establishment and Management | SC | graded full Proper key establishment and management processes directly preclude embedding static cryptographic keys in source code or binaries. |
SA-12 | Supply Chain Protection | SA | Supply chain protection includes scrutiny of cryptographic implementations, reducing hard-coded keys planted by untrusted vendors. |
SA-4 | Acquisition Process | SA | Functional and assurance requirements specified in acquisition can prohibit hard-coded cryptographic keys in delivered products. |
SC-17 | Public Key Infrastructure Certificates | SC | Approved PKI issuance and trust stores replace ad-hoc or hard-coded keys with properly managed, signed certificates. |
SR-6 | Supplier Assessments and Reviews | SR | Assessments can uncover and prevent suppliers from shipping components that contain hard-coded cryptographic keys. |
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 UPD | 9.9 | 9.8 | 0.9304 | 2016-06-07 |
CVE-2025-30406 KEV UPD | 8.9 | 9.0 | 0.2446 | 2025-04-03 |
CVE-2020-10884 UPD | 8.3 | 8.8 | 0.3910 | 2020-03-25 |
CVE-2020-6990 UPD | 8.0 | 9.8 | 0.0589 | 2020-03-16 |
CVE-2023-27584 UPD | 7.9 | 9.8 | 0.0467 | 2024-09-19 |
CVE-2026-25505 UPD | 7.8 | 9.8 | 0.0352 | 2026-02-04 |
CVE-2026-26335 UPD | 7.8 | 9.8 | 0.0309 | 2026-02-13 |
CVE-2026-74233 UPD | 7.8 | 9.8 | 0.0337 | 2026-08-27 |
CVE-2017-14021 UPD | 7.7 | 9.8 | 0.0192 | 2017-11-01 |
CVE-2016-9335 UPD | 7.7 | 10.0 | 0.0155 | 2018-05-09 |
CVE-2021-40119 UPD | 7.7 | 9.8 | 0.0250 | 2021-11-04 |
CVE-2023-32169 UPD | 7.7 | 9.8 | 0.0225 | 2024-05-03 |
CVE-2024-5296 UPD | 7.7 | 9.8 | 0.0234 | 2024-05-23 |
CVE-2025-57174 UPD | 7.7 | 9.8 | 0.0190 | 2025-09-15 |
CVE-2026-47410 UPD | 7.7 | 9.8 | 0.0233 | 2026-07-21 |
CVE-2026-89026 UPD | 7.7 | 9.8 | 0.0270 | 2026-09-15 |
CVE-2026-86708 | 7.7 | 10.0 | 0.0271 | 2026-09-23 |
CVE-2018-0040 UPD | 7.6 | 9.8 | 0.0143 | 2018-07-11 |
CVE-2022-22987 UPD | 7.6 | 9.8 | 0.0130 | 2022-02-04 |
CVE-2022-0664 UPD | 7.6 | 9.8 | 0.0157 | 2022-02-18 |
CVE-2024-30207 UPD | 7.6 | 10.0 | 0.0103 | 2024-05-14 |
CVE-2025-30206 UPD | 7.6 | 9.8 | 0.0162 | 2025-04-15 |
CVE-2025-34215 UPD | 7.6 | 9.8 | 0.0134 | 2025-09-29 |
CVE-2025-34256 UPD | 7.6 | 9.8 | 0.0136 | 2025-12-05 |
CVE-2026-25894 | 7.6 | 9.8 | 0.0143 | 2026-02-09 |