Security Resilience

CWE · MITRE source

CWE-1287Improper Validation of Specified Type of Input

Abstraction: Base · CVEs in our corpus: 165

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: 15 October 2026 07:26 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 PROPOSED for this weakness (0)AI-assisted

These are model PROPOSALS, not graded mappings. They come from controls_to_cwe_proposals, which carries no grade field at all; across the CWE pages 1,540 of 1,722 such associations (89%) have never been graded by anything. The heading said “address” until 2026-09-29, which asserted a relationship the data does not carry. Graded cross-walks are on the framework map, not here.

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.01812024-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.02062021-12-09
CVE-2024-5594 7.09.10.00822025-01-06
CVE-2025-129777.09.10.00732025-11-24
CVE-2026-449357.09.90.00492026-07-02
CVE-2026-93906.99.10.00502026-08-03
CVE-2026-24307 6.89.30.00922026-01-22
CVE-2026-2004 6.88.80.01342026-02-12
CVE-2026-261156.78.80.01002026-03-10
CVE-2026-450696.79.10.00262026-07-14
CVE-2022-39369 6.48.00.02002022-11-01
CVE-2024-35213 6.49.00.00522024-06-11
CVE-2026-44249 6.48.10.01292026-06-11
CVE-2026-596806.48.00.01582026-09-01
CVE-2024-20494 6.38.60.00522024-10-23
CVE-2025-46342 6.28.50.00752025-04-30
CVE-2026-25639 6.27.50.01992026-02-09
CVE-2026-5946 6.27.50.01702026-05-20
CVE-2022-20783 6.17.50.01432022-04-21
CVE-2024-51546 6.17.50.01472024-12-05
CVE-2025-24876 6.18.10.00502025-02-11