CWE-475: Undefined Behavior for Input to API
The behavior of this function is undefined unless its control parameter is set to a specific value.
Last updated
Overview
CWE-475 (Undefined Behavior for Input to API) 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
11 recorded CVEs are caused by CWE-475 (Undefined Behavior for Input to API). The highest-severity and most recent are shown first. 1 new CWE-475 CVE has been recorded so far in 2026 (3 in 2025).