CWEweakness

CWE-691 Insufficient Control Flow Management

Official page ↗
Abstraction
Pillar
Structure
Simple
Status
Draft
Languages
Not Language-Specific
CWE version
5.0

Description

The code does not sufficiently manage its control flow during execution, creating conditions in which the control flow can be modified in unexpected ways.

Common consequences

• Other: Alter Execution Logic

Detection methods

• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Observed examples

• CVE-2024-50653: e-commerce product does not restrict the number of requests for coupons • CVE-2019-9805: Chain: Creation of the packet client occurs before initialization is complete (CWE-696) resulting in a read from uninitialized memory (CWE-908), causing memory corruption. • CVE-2014-1266: Chain: incorrect "goto" in Apple SSL product bypasses certificate validation, allowing Adversary-in-the-Middle (AITM) attack (Apple "goto fail" bug). CWE-705 (Incorrect Control Flow Scoping) -> CWE-561 (Dead Code) -> CWE-295 (Improper Certificate Validation) -> CWE-393 (Return of Wrong Status Code) -> CWE-300 (Channel Accessible by Non-Endpoint). The code's whitespace indentation did not reflect the actual control flow (CWE-1114) and did not explicitly delimit the block (CWE-483), which could have made it more difficult for human code auditors to detect the vulnerability. • CVE-2011-1027: Chain: off-by-one error (CWE-193) leads to infinite loop (CWE-835) using invalid hex-encoded characters.

Related

Attack pattern · CAPEC (1)

  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions attack pattern

Observed example · CVE (4)

  • CVE-2024-50653 CRMEB <=5.4.0 is vulnerable to Incorrect Access Control. vulnerability
  • CVE-2019-9805 A latent vulnerability exists in the Prio library where data may be read from uninitialized memory for some functions, leading to potential… vulnerability
  • CVE-2014-1266 The SSLVerifySignedServerKeyExchange function in libsecurity_ssl/lib/sslKeyExchange.c in the Secure Transport feature in the Data Security… vulnerability
  • CVE-2011-1027 Off-by-one error in the convert_query_hexchar function in html.c in cgit.cgi in cgit before 0.8.3.5 allows remote attackers to cause a… vulnerability

Referenced by CAPEC · weakness (1)

  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions attack pattern

Referenced by CVE · weakness (41)

  • CVE-2026-115893 Wasmtime is a runtime for WebAssembly. vulnerability
  • CVE-2026-76469 As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco networking engineering team has conducted a… vulnerability
  • CVE-2026-20276 As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco IOS XR Software engineering team has conducted a… vulnerability
  • CVE-2025-51675 An issue was discovered in openRISC OR1200 commit 83ac6b. vulnerability
  • CVE-2026-79033 Insufficient control flow management in DevTools in Google Chrome prior to 152.0.7977.65 allowed a remote attacker leveraging social… vulnerability
  • CVE-2026-20271 As part of Cisco's ongoing commitment to proactive security and product quality, the Cisco IOS XE Software engineering team has conducted a… vulnerability
  • CVE-2026-43503 In the Linux kernel, the following vulnerability has been resolved: net: skbuff: propagate shared-frag marker through frag-transfer helpers… vulnerability
  • CVE-2026-5938 Improper control flow management allows a crafted document action chain to cause modal dialog reentry on the main thread, resulting in UI… vulnerability
  • CVE-2025-35963 Insufficient control flow management for some Intel(R) PROSet/Wireless WiFi Software for Windows before version 23.160 within Ring 2:… vulnerability
  • CVE-2025-22893 Insufficient control flow management in the Linux kernel-mode driver for some Intel(R) 800 Series Ethernet before version 1.17.2 may allow… vulnerability
  • CVE-2025-24305 Insufficient control flow management in the Alias Checking Trusted Module (ACTM) firmware for some Intel(R) Xeon(R) processors may allow a… vulnerability
  • CVE-2025-25273 Insufficient control flow management in the Linux kernel-mode driver for some Intel(R) 700 Series Ethernet before version 2.28.5 may allow… vulnerability
  • CVE-2025-49463 Insufficient control flow management in certain Zoom Clients for iOS before version 6.4.5 may allow an unauthenticated user to conduct a… vulnerability
  • CVE-2025-47285 Vyper is the Pythonic Programming Language for the Ethereum Virtual Machine. vulnerability
  • CVE-2025-47774 Vyper is the Pythonic Programming Language for the Ethereum Virtual Machine. vulnerability
  • CVE-2025-20004 Insufficient control flow management in the Alias Checking Trusted Module for some Intel(R) Xeon(R) 6 processor E-Cores firmware may allow… vulnerability
  • CVE-2025-20022 Insufficient control flow management for some Edge Orchestrator software for Intel(R) Tiber™ Edge Platform may allow a privileged user to… vulnerability
  • CVE-2025-25774 An issue was discovered in Open5GS v2.7.2. vulnerability
  • CVE-2024-25565 Insufficient control flow management in UEFI firmware for some Intel(R) Xeon(R) Processors may allow an authenticated user to enable denial… vulnerability
  • CVE-2024-29079 Insufficient control flow management in some Intel(R) VROC software before version 8.6.0.3001 may allow an authenticated user to… vulnerability
  • CVE-2024-33617 Insufficient control flow management in some Intel(R) QAT Engine for OpenSSL software before version v1.6.1 may allow information… vulnerability
  • CVE-2024-21801 Insufficient control flow management in some Intel(R) TDX module software before version 1.5.05.46.698 may allow a privileged user to… vulnerability
  • CVE-2024-22374 Insufficient control flow management for some Intel(R) Xeon Processors may allow an authenticated user to potentially enable denial of… vulnerability
  • CVE-2024-37158 Evmos is the Ethereum Virtual Machine (EVM) Hub on the Cosmos Network. vulnerability
  • CVE-2024-3847 Insufficient policy enforcement in WebUI in Google Chrome prior to 124.0.6367.60 allowed a remote attacker to bypass content security… vulnerability
  • CVE-2021-33157 Insufficient control flow management in some Intel(R) Ethernet Adapters and Intel(R) Ethernet Controller I225 Manageability firmware may… vulnerability
  • CVE-2022-46299 Insufficient control flow management for some Intel Unison software may allow an authenticated user to potentially enable information… vulnerability
  • CVE-2023-24587 Insufficient control flow management in firmware for some Intel(R) Optane(TM) SSD products may allow a privileged user to potentially… vulnerability
  • CVE-2023-5102 Insufficient Control Flow Management in RDT400 in SICK APU allows an unprivileged remote attacker to potentially enable hidden… vulnerability
  • CVE-2023-44384 Discourse-jira is a Discourse plugin allows Jira projects, issue types, fields and field options will be synced automatically. vulnerability
Show all 41 ›

Referenced by CWE · child of (10)

  • CWE-1281 Sequence of Processor Instructions Leads to Unexpected Behavior weakness
  • CWE-430 Deployment of Wrong Handler weakness
  • CWE-431 Missing Handler weakness
  • CWE-662 Improper Synchronization weakness
  • CWE-670 Always-Incorrect Control Flow Implementation weakness
  • CWE-696 Incorrect Behavior Order weakness
  • CWE-705 Incorrect Control Flow Scoping weakness
  • CWE-799 Improper Control of Interaction Frequency weakness
  • CWE-834 Excessive Iteration weakness
  • CWE-841 Improper Enforcement of Behavioral Workflow weakness

Referenced by CWE · has member (1)

  • CWE-1000 Complete Weakness Hierarchy view

Referenced by CWE · peer of (1)

  • CWE-1434 Insecure Setting of Generative AI/ML Model Inference Parameters weakness