CWE-681

Overview
  • CWE ID
  • 681
  • CWE Name
  • Incorrect Conversion between Numeric Types
  • CWE Abstraction
  • Base
  • CWE structure
  • Simple
  • CWE Status
  • Draft
Description
When converting from one data type to another, such as long to integer, data can be omitted or translated in a way that produces unexpected values. If the resulting values are used in a sensitive context, then dangerous behaviors may occur.
Extended Description
Related CWEs
CWE ID View ID Nature Ordinal
704 1000 ChildOf Primary
704 1003 ChildOf Primary
682 1000 CanPrecede