CWE-1287: Improper Validation of Specified Type of Input
The product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type.
Last updated
Overview
CWE-1287 (Improper Validation of Specified Type of Input) 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
203 recorded CVEs are caused by CWE-1287 (Improper Validation of Specified Type of Input), including 1 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 84 new CWE-1287 CVEs have been recorded so far in 2026 (78 in 2025).