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: 09 May 2026 03:25 UTC
NIST 800-53 r5 controls that address this weakness (0)AI
| 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 | 9.6 | 9.8 | 0.9435 | 2024-07-10 |
CVE-2024-6298 | 4.1 | 10.0 | 0.3497 | 2024-07-05 |
CVE-2024-51546 | 2.2 | 7.5 | 0.1185 | 2024-12-05 |
CVE-2024-51550 | 2.2 | 10.0 | 0.0415 | 2024-12-05 |
CVE-2021-32024 | 2.1 | 9.8 | 0.0265 | 2021-12-13 |
CVE-2021-43802 | 2.0 | 9.9 | 0.0055 | 2021-12-09 |
CVE-2024-51551 | 2.0 | 10.0 | 0.0042 | 2024-12-05 |
CVE-2026-24307 | 1.9 | 9.3 | 0.0013 | 2026-01-22 |
CVE-2022-31007 | 1.8 | 4.9 | 0.1308 | 2022-05-31 |
CVE-2024-35213 | 1.8 | 9.0 | 0.0058 | 2024-06-11 |
CVE-2024-5594 | 1.8 | 9.1 | 0.0028 | 2025-01-06 |
CVE-2025-20711 | 1.8 | 8.8 | 0.0001 | 2025-10-14 |
CVE-2025-12977 | 1.8 | 9.1 | 0.0010 | 2025-11-24 |
CVE-2026-2004 | 1.8 | 8.8 | 0.0006 | 2026-02-12 |
CVE-2026-26115 | 1.8 | 8.8 | 0.0012 | 2026-03-10 |
CVE-2022-39369 | 1.7 | 8.0 | 0.0099 | 2022-11-01 |
CVE-2024-20494 | 1.7 | 8.6 | 0.0044 | 2024-10-23 |
CVE-2025-46342 | 1.7 | 8.5 | 0.0032 | 2025-04-30 |
CVE-2025-20251 | 1.7 | 8.5 | 0.0015 | 2025-08-14 |
CVE-2022-43723 | 1.6 | 7.5 | 0.0111 | 2022-12-13 |
CVE-2023-28799 | 1.6 | 8.2 | 0.0015 | 2023-06-22 |
CVE-2024-20408 | 1.6 | 7.7 | 0.0039 | 2024-10-23 |
CVE-2024-43426 | 1.6 | 7.5 | 0.0091 | 2024-11-07 |
CVE-2025-24876 | 1.6 | 8.1 | 0.0016 | 2025-02-11 |
CVE-2025-42916 | 1.6 | 8.1 | 0.0004 | 2025-09-09 |