CWE-1037: Processor Optimization Removal or Modification of Security-critical Code
The developer builds a security-critical protection mechanism into the software, but the processor optimizes the execution of the program such that the mechanism is removed or modified.
Last updated
Overview
CWE-1037 (Processor Optimization Removal or Modification of Security-critical Code) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
5 recorded CVEs are caused by CWE-1037 (Processor Optimization Removal or Modification of Security-critical Code). The highest-severity and most recent are shown first. 0 new CWE-1037 CVEs have been recorded so far in 2026 (3 in 2025).