CWE · MITRE source
CWE-1286Improper Validation of Syntactic Correctness of Input
The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.
Often, complex inputs are expected to follow a particular syntax, which is either assumed by the input itself, or declared within metadata such as headers. The syntax could be for data exchange formats, markup languages, or even programming languages. When untrusted input is not properly validated for the expected syntax, attackers could cause parsing failures, trigger unexpected errors, or expose latent vulnerabilities that might not be directly exploitable if the input had conformed to the syntax.
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-7954 | 7.5 | 9.8 | 0.9315 | 2024-08-23 |
CVE-2021-28812 | 1.9 | 8.8 | 0.0236 | 2021-06-03 |
CVE-2021-31988 | 1.8 | 8.8 | 0.0062 | 2021-10-05 |
CVE-2025-41719 | 1.8 | 8.8 | 0.0015 | 2025-10-22 |
CVE-2026-25513 | 1.8 | 8.8 | 0.0003 | 2026-02-04 |
CVE-2026-6442 | 1.7 | 8.3 | 0.0008 | 2026-04-16 |
CVE-2024-26507 | 1.6 | 7.8 | 0.0007 | 2024-06-10 |
CVE-2024-51982 | 1.6 | 7.5 | 0.0114 | 2025-06-25 |
CVE-2024-51983 | 1.6 | 7.5 | 0.0206 | 2025-06-25 |
CVE-2021-31987 | 1.5 | 7.5 | 0.0011 | 2021-10-05 |
CVE-2022-22176 | 1.5 | 7.4 | 0.0008 | 2022-01-19 |
CVE-2022-1941 | 1.5 | 7.5 | 0.0017 | 2022-09-22 |
CVE-2022-22192 | 1.5 | 7.5 | 0.0064 | 2022-10-18 |
CVE-2023-28985 | 1.5 | 7.5 | 0.0017 | 2023-07-14 |
CVE-2023-32649 | 1.5 | 7.5 | 0.0013 | 2023-09-19 |
CVE-2024-21595 | 1.5 | 7.5 | 0.0011 | 2024-01-12 |
CVE-2024-21616 | 1.5 | 7.5 | 0.0021 | 2024-01-12 |
CVE-2024-0218 | 1.5 | 7.5 | 0.0013 | 2024-04-10 |
CVE-2024-3384 | 1.5 | 7.5 | 0.0073 | 2024-04-10 |
CVE-2024-21598 | 1.5 | 7.5 | 0.0015 | 2024-04-12 |
CVE-2024-6284 | 1.5 | 7.3 | 0.0007 | 2024-07-03 |
CVE-2024-39542 | 1.5 | 7.5 | 0.0032 | 2024-07-11 |
CVE-2025-0638 | 1.5 | 7.5 | 0.0010 | 2025-01-22 |
CVE-2025-22868 | 1.5 | 7.5 | 0.0013 | 2025-02-26 |
CVE-2025-24346 | 1.5 | 7.5 | 0.0023 | 2025-04-30 |