Cyber Resilience

CWE · MITRE source

CWE-670Always-Incorrect Control Flow Implementation

Abstraction: Class · CVEs in our corpus: 139

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

This weakness captures cases in which a particular code segment is always incorrect with respect to the algorithm that it is implementing. For example, if a C programmer intends to include multiple statements in a single block but does not include the enclosing braces (CWE-483), then the logic is always incorrect. This issue is in contrast to most weaknesses in which the code usually behaves correctly, except when it is externally manipulated in malicious ways.

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: mostly · 1 mapping(s) from 1 framework(s): ASVS 5.0 1 (mostly)

See the full cumulative-coverage rollup →

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

Control Title Family Why it addresses this CWE
No NIST controls proposed yet.

Top CVEs of this weakness type, ranked by Risk Priority

CVE Risk CVSS EPSS Published
CVE-2024-32896 KEV10.07.80.03012024-06-13
CVE-2019-171927.09.80.02732019-10-05
CVE-2020-174667.09.80.01472020-08-11
CVE-2020-19147.09.80.02512020-10-08
CVE-2022-257457.09.80.00422023-04-13
CVE-2024-329717.09.00.00732024-05-02
CVE-2025-293127.09.10.00452025-03-24
CVE-2025-433597.09.80.00862025-09-15
CVE-2026-552767.09.10.00372026-06-29
CVE-2020-94256.07.50.16672020-03-20
CVE-2017-06045.57.80.00522017-05-12
CVE-2018-167665.58.80.01272018-09-10
CVE-2019-99465.57.50.03122019-04-02
CVE-2019-114125.57.50.02092019-04-22
CVE-2019-197295.57.50.01092019-12-11
CVE-2014-26865.57.50.01182020-01-09
CVE-2019-204305.57.50.02212020-01-27
CVE-2019-193245.57.50.01012020-03-20
CVE-2020-256035.57.80.00422020-09-23
CVE-2020-362775.57.50.02432021-03-11
CVE-2021-05175.57.50.00802021-06-21
CVE-2021-376045.57.50.01232021-08-05
CVE-2021-376055.57.50.01282021-08-05
CVE-2021-347675.57.40.00762021-09-23
CVE-2021-411535.58.70.01002021-10-18