Cyber Resilience

CWE · MITRE source

CWE-328Use of Weak Hash

Abstraction: Base · CVEs in our corpus: 85

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: 04 July 2026 00:28 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 · 19 mapping(s) from 9 framework(s): ATT&CK 8 (mostly) · ASVS 5.0 2 (full) · OWASP-Web 2 (mostly) · 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)

See the full cumulative-coverage rollup →

OWASP Top 10 for Web (2025)

This weakness contributes to A04:2025 Cryptographic Failures.

NIST 800-53 r5 controls that address this weakness (2)AI

Control Title Family Why it addresses this CWE
SC-13Cryptographic ProtectionSCRequires appropriate hash functions for cryptographic uses, preventing reliance on weak hashes.
SI-2Flaw RemediationSISecurity updates supplant weak hashing algorithms with stronger alternatives before attackers can exploit the original weakness.

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). Drafted by Grok and spot-checked by Claude Opus 4.8.

Direction: other covers this; this covers other (F/M/P = full / mostly / partial).

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2004-27617.09.80.09852009-01-05
CVE-2023-04527.09.80.00542023-01-26
CVE-2022-451417.09.80.00452023-03-06
CVE-2023-461337.09.10.00452023-10-25
CVE-2023-46233 UPD7.09.10.00632023-10-25
CVE-2025-275957.09.80.00522025-03-14
CVE-2025-41652 UPD7.09.80.00392025-05-27
CVE-2020-37168 UPD7.09.80.00252026-05-13
CVE-2026-36182 UPD7.09.80.00232026-06-04
CVE-2019-135395.57.00.00272019-11-08
CVE-2021-391825.57.50.00542021-11-08
CVE-2022-292495.57.50.00682022-05-24
CVE-2023-436305.58.80.00112023-09-20
CVE-2023-436355.58.80.00112023-09-20
CVE-2024-404655.58.80.00432024-07-31
CVE-2024-84525.57.50.00172024-09-30
CVE-2024-488475.58.20.00262024-12-05
CVE-2024-558855.57.50.00342024-12-12
CVE-2025-47276 UPD5.57.50.00242025-05-13
CVE-2025-41256 UPD5.57.40.00112025-06-25
CVE-2026-40164 UPD5.57.50.00372026-04-14
CVE-2022-298353.55.30.00162022-09-19
CVE-2022-34333.56.50.00712022-10-10
CVE-2022-439223.55.30.00362023-02-01
CVE-2023-443193.54.90.00452023-11-14