CWE-733

Compiler Optimization Removal or Modification of Security-critical Code
AI Translation Available

The developer builds a security-critical protection mechanism into the software, but the compiler optimizes the program such that the mechanism is removed or modified.

Status
incomplete
Abstraction
base
C C++ Compiled

Common Consequences

access control other
Impacts
bypass protection mechanism alter execution logic

Detection Methods

black box white box

Potential Mitigations