Cyber Resilience

CWE · MITRE source

CWE-407Inefficient Algorithmic Complexity

Abstraction: Class · CVEs in our corpus: 141

An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.

Last updated: 21 August 2026 14:15 UTC

Control responseHuman-reviewed

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

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • SC-5 Denial-of-service Protection
  • ID.RA-01
  • PR.PS-06
  • SC-5 Denial-of-service Protection
Detect
Catch it (CSF Detect / Respond)
  • DE.CM-09
Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.2.9

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

Control Title Family Why it addresses this CWE
SC-5Denial-of-service ProtectionSCAddresses inefficient algorithms whose complexity can be exploited for DoS.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2020-27223 7.05.20.77952021-02-26
CVE-2022-36021 7.05.50.59712023-03-01
CVE-2016-10396 6.37.50.02932017-07-06
CVE-2018-12558 6.37.50.02652018-06-20
CVE-2021-33582 6.37.50.03072021-09-01
CVE-2022-45061 6.37.50.02522022-11-09
CVE-2023-46136 6.38.00.01072023-10-25
CVE-2024-43483 6.37.50.02872024-10-08
CVE-2024-43484 6.37.50.02942024-10-08
CVE-2024-43485 6.37.50.03052024-10-08
CVE-2019-19331 6.27.50.02172019-12-16
CVE-2022-39209 6.27.50.01712022-09-15
CVE-2022-40188 6.27.50.01582022-09-23
CVE-2025-644586.27.50.01902025-11-05
CVE-2025-64460 6.27.50.02122025-12-02
CVE-2024-21909 6.17.50.01062024-01-03
CVE-2023-4408 6.17.50.01342024-02-13
CVE-2026-559686.17.50.01102026-07-27
CVE-2017-11343 6.07.50.00932017-07-17
CVE-2022-22153 6.07.50.00932022-01-19
CVE-2023-38285 6.07.50.00902023-07-26
CVE-2024-23684 6.07.50.00912024-01-19
CVE-2024-8233 6.07.50.00762024-12-12
CVE-2024-9631 6.07.50.00722025-02-05
CVE-2025-27209 6.07.50.00772025-07-18