CWE · MITRE source
CWE-1287Improper 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.
When input does not comply with the expected type, attackers could trigger unexpected errors, cause incorrect actions to take place, or exploit latent vulnerabilities that would not be possible if the input conformed with the expected type. This weakness can appear in type-unsafe programming languages, or in programming languages that support casting or conversion of an input to another type.
Last updated: 21 August 2026 20:21 UTC
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
Detect
Catch it (CSF Detect / Respond)
—
Harden
Shrink the surface (DISA STIG)
—
Validate
Prove the fix (OWASP ASVS)
V1.1.1V1.4.2V2.1.1V2.2.2
NIST 800-53 r5 controls that address this weakness (0)AI-assisted
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
| No NIST controls proposed yet. | |||
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2024-4879 KEV UPD | 9.9 | 9.8 | 0.9998 | 2024-07-10 |
CVE-2024-6298 UPD | 8.6 | 10.0 | 0.1901 | 2024-07-05 |
CVE-2024-51550 UPD | 7.7 | 10.0 | 0.0182 | 2024-12-05 |
CVE-2021-32024 UPD | 7.6 | 9.8 | 0.0179 | 2021-12-13 |
CVE-2024-51551 UPD | 7.4 | 10.0 | 0.0045 | 2024-12-05 |
CVE-2021-43802 UPD | 7.3 | 9.9 | 0.0199 | 2021-12-09 |
CVE-2024-5594 UPD | 7.0 | 9.1 | 0.0083 | 2025-01-06 |
CVE-2025-12977 | 7.0 | 9.1 | 0.0073 | 2025-11-24 |
CVE-2026-44935 | 6.9 | 9.9 | 0.0041 | 2026-07-02 |
CVE-2026-26115 | 6.8 | 8.8 | 0.0109 | 2026-03-10 |
CVE-2026-24307 UPD | 6.7 | 9.3 | 0.0082 | 2026-01-22 |
CVE-2026-2004 UPD | 6.7 | 8.8 | 0.0078 | 2026-02-12 |
CVE-2026-45069 | 6.7 | 9.1 | 0.0024 | 2026-07-14 |
CVE-2026-9390 | 6.7 | 9.1 | 0.0028 | 2026-08-03 |
CVE-2024-35213 UPD | 6.4 | 9.0 | 0.0052 | 2024-06-11 |
CVE-2025-20711 | 6.4 | 8.8 | 0.0029 | 2025-10-14 |
CVE-2022-39369 UPD | 6.3 | 8.0 | 0.0109 | 2022-11-01 |
CVE-2024-20494 UPD | 6.3 | 8.6 | 0.0051 | 2024-10-23 |
CVE-2026-25639 UPD | 6.3 | 7.5 | 0.0250 | 2026-02-09 |
CVE-2026-44249 UPD | 6.3 | 8.1 | 0.0103 | 2026-06-11 |
CVE-2026-5946 UPD | 6.2 | 7.5 | 0.0187 | 2026-05-20 |
CVE-2022-20783 UPD | 6.1 | 7.5 | 0.0141 | 2022-04-21 |
CVE-2024-51546 UPD | 6.1 | 7.5 | 0.0150 | 2024-12-05 |
CVE-2025-24876 UPD | 6.1 | 8.1 | 0.0049 | 2025-02-11 |
CVE-2025-46342 UPD | 6.1 | 8.5 | 0.0070 | 2025-04-30 |