Cyber Resilience

CWE · MITRE source

CWE-1287Improper Validation of Specified Type of Input

Abstraction: Base · CVEs in our corpus: 151

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.

Prevent
Stop it (NIST 800-53 / CSF Protect)
  • PR.PS-06
  • SI-10 Information Input Validation
Detect
Catch it (CSF Detect / Respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.1.1
  • V1.4.2
  • V2.1.1
  • V2.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 9.99.80.99982024-07-10
CVE-2024-6298 8.610.00.19012024-07-05
CVE-2024-51550 7.710.00.01822024-12-05
CVE-2021-32024 7.69.80.01792021-12-13
CVE-2024-51551 7.410.00.00452024-12-05
CVE-2021-43802 7.39.90.01992021-12-09
CVE-2024-5594 7.09.10.00832025-01-06
CVE-2025-129777.09.10.00732025-11-24
CVE-2026-449356.99.90.00412026-07-02
CVE-2026-261156.88.80.01092026-03-10
CVE-2026-24307 6.79.30.00822026-01-22
CVE-2026-2004 6.78.80.00782026-02-12
CVE-2026-450696.79.10.00242026-07-14
CVE-2026-93906.79.10.00282026-08-03
CVE-2024-35213 6.49.00.00522024-06-11
CVE-2025-207116.48.80.00292025-10-14
CVE-2022-39369 6.38.00.01092022-11-01
CVE-2024-20494 6.38.60.00512024-10-23
CVE-2026-25639 6.37.50.02502026-02-09
CVE-2026-44249 6.38.10.01032026-06-11
CVE-2026-5946 6.27.50.01872026-05-20
CVE-2022-20783 6.17.50.01412022-04-21
CVE-2024-51546 6.17.50.01502024-12-05
CVE-2025-24876 6.18.10.00492025-02-11
CVE-2025-46342 6.18.50.00702025-04-30