logo
Home/CWEs/CWE-241/

CWE-241 - Improper Handling of Unexpected Data Type

  • Abstraction:Base
  • Structure:Simple
  • Status:Draft
  • Release Date:2006-07-19
  • Latest Modification Date:2023-06-29

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

CWE-228Improper Handling of Syntactically Invalid Structure