logo

CWE-733 - Compiler Optimization Removal or Modification of Security-critical Code

  • Abstraction:Base
  • Structure:Simple
  • Status:Incomplete
  • Release Date:2008-10-14
  • Latest Modification Date:2024-02-29

Weakness Name

Compiler Optimization Removal or Modification of Security-critical Code

Description

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.

Common Consequences

Scope: Access Control, Other

Impact: Bypass Protection Mechanism, Other

Related Weaknesses