CWE-241Improper Handling of Unexpected Data Type

PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-241
Abstraction:
Base
Structure:
Simple
Status:
Draft
Release Date:
2006-07-19
Latest Modification Date:
2025-12-11

Weakness Name

Improper Handling of Unexpected Data Type

Description

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).

Common Consequences

Scope:
Integrity, Other
Impact:
Varies by Context, Unexpected State

Related Weaknesses