CWE-1038

Insecure Automated Optimizations

Low Risk

Weakness Description

The product uses a mechanism that automatically optimizes code, e.g. to improve a characteristic such as performance, but the optimizations can have an unintended side effect that might violate an intended security assumption.

Common Consequences

Integrity
Alter Execution Logic

The optimizations alter the order of execution resulting in side effects that were not intended by the original developer.

Advertisement

Related Weaknesses