CWE-241: Improper Handling of Unexpected Data Type
The product does not handle or incorrectly handles when a particular element is not the expected type, e.g. it expects a digit (0-9) but is provided with a letter (A-Z).
Last updated
Overview
CWE-241 (Improper Handling of Unexpected Data Type) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
29 recorded CVEs are caused by CWE-241 (Improper Handling of Unexpected Data Type). The highest-severity and most recent are shown first. 1 new CWE-241 CVE has been recorded so far in 2026 (6 in 2025).