CWE-733 — Compiler Optimization Removal or Modification of Security-critical Code
CWE-733: Compiler Optimization Removal or Modification of Security-critical Code
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Base |
| Status | Incomplete |
| Likelihood of exploit | — |
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
- Access Control, Other: Bypass Protection Mechanism, Alter Execution Logic
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/733.html
- CWE list: https://cwe.mitre.org/data/index.html