CWE · MITRE source
CWE-328Use of Weak Hash
The product uses an algorithm that produces a digest (output value) that does not meet security expectations for a hash function that allows an adversary to reasonably determine the original input (preimage attack), find another input that can produce the same hash (2nd preimage attack), or find multiple inputs that evaluate to the same hash (birthday attack).
A hash function is defined as an algorithm that maps arbitrarily sized data into a fixed-sized digest (output) such that the following properties hold: Building on this definition, a cryptographic hash function must also ensure that a malicious actor cannot leverage the hash function to have a reasonable chance of success at determining any of the following: What is regarded as "reasonable" varies by context and threat model, but in general, "reasonable" could cover any attack that is more efficient than brute force (i.e., on average, attempting half of all possible combinations). Note that some attacks might be more efficient than brute force but are still not regarded as achievable in the real world. Any algorithm that does not meet the above conditions will generally be considered weak for general use in hashing. In addition to algorithmic weaknesses, a hash function can be made weak by using the hash in a security context that breaks its security guarantees. For example, using a hash function without a salt for storing passwords (that are sufficiently short) could enable an adversary to create a "rainbow table" [REF-637] to recover the password under certain conditions; this attack works against such hash functions as MD5, SHA-1, and SHA-2.
Last updated: 20 August 2026 14:15 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 · 7 mapping(s) from 6 framework(s): CAPEC 2 (partial) · STIG windows 11 1 (full) · STIG windows server 2016 1 (full) · STIG windows server 2022 1 (full) · STIG windows 10 1 (mostly) · STIG windows server 2019 1 (mostly)
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 that address this weakness (2)AI-assisted
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
SC-13 | Cryptographic Protection | SC | Requires appropriate hash functions for cryptographic uses, preventing reliance on weak hashes. |
SI-2 | Flaw Remediation | SI | Security updates supplant weak hashing algorithms with stronger alternatives before attackers can exploit the original weakness. |
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2004-2761 UPD | 8.2 | 9.8 | 0.0993 | 2009-01-05 |
CVE-2023-0452 UPD | 7.3 | 9.8 | 0.0054 | 2023-01-26 |
CVE-2022-45141 UPD | 7.3 | 9.8 | 0.0045 | 2023-03-06 |
CVE-2025-27595 UPD | 7.3 | 9.8 | 0.0052 | 2025-03-14 |
CVE-2025-41652 UPD | 7.3 | 9.8 | 0.0045 | 2025-05-27 |
CVE-2020-37168 UPD | 7.2 | 9.8 | 0.0025 | 2026-05-13 |
CVE-2026-36182 UPD | 7.1 | 9.8 | 0.0019 | 2026-06-04 |
CVE-2023-46133 UPD | 6.9 | 9.1 | 0.0045 | 2023-10-25 |
CVE-2023-46233 UPD | 6.9 | 9.1 | 0.0063 | 2023-10-25 |
CVE-2024-40465 UPD | 6.5 | 8.8 | 0.0043 | 2024-07-31 |
CVE-2024-48847 UPD | 6.1 | 8.2 | 0.0026 | 2024-12-05 |
CVE-2022-29249 UPD | 6.0 | 7.5 | 0.0072 | 2022-05-24 |
CVE-2021-39182 UPD | 5.9 | 7.5 | 0.0054 | 2021-11-08 |
CVE-2023-43630 UPD | 5.9 | 8.8 | 0.0011 | 2023-09-20 |
CVE-2023-43635 UPD | 5.9 | 8.8 | 0.0011 | 2023-09-20 |
CVE-2024-55885 UPD | 5.8 | 7.5 | 0.0034 | 2024-12-12 |
CVE-2026-40164 UPD | 5.8 | 7.5 | 0.0037 | 2026-04-14 |
CVE-2025-47276 UPD | 5.7 | 7.5 | 0.0029 | 2025-05-13 |
CVE-2024-8452 | 5.6 | 7.5 | 0.0018 | 2024-09-30 |
CVE-2025-41256 UPD | 5.4 | 7.4 | 0.0011 | 2025-06-25 |
CVE-2019-13539 UPD | 5.2 | 7.0 | 0.0027 | 2019-11-08 |
CVE-2022-3433 UPD | 5.2 | 6.5 | 0.0075 | 2022-10-10 |
CVE-2023-5962 UPD | 5.0 | 6.5 | 0.0028 | 2023-12-23 |
CVE-2024-23589 UPD | 5.0 | 6.8 | 0.0015 | 2025-05-30 |
CVE-2025-49197 UPD | 5.0 | 6.5 | 0.0026 | 2025-06-12 |