CWE-1038: Insecure Automated Optimizations

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.

6 published CVE records name this weakness. Abstraction: Class. Status: Draft. CWE-1038 at MITRE

CVETitleCVSSEPSSPublished
CVE-2025-48877 Discourse vulnerable to auto-executing of third-party code in embedded CodePen iframe 8.1 high 0.85% 9 Jun 2025
CVE-2023-52971 MariaDB: Insecure Automated Optimizations 4.9 medium 0.76% 8 Mar 2025
CVE-2023-52970 MariaDB: Insecure Automated Optimizations 4.9 medium 0.78% 8 Mar 2025
CVE-2023-52969 MariaDB: Insecure Automated Optimizations 4.9 medium 0.80% 8 Mar 2025
CVE-2022-31220 Dell CPG BIOS: Insecure Automated Optimizations 3.0 low 0.21% 12 Sep 2022
CVE-2022-26861 Dell CPG BIOS: Insecure Automated Optimizations 7.9 high 0.28% 6 Sep 2022