Common Weakness Enumeration
CWE Definition / CWE-197
CWE-197: Numeric Truncation Error
Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.
Published:19 Jul 2006
Organization:MITRE
Modified:11 Dec 2025
Related Weakness
CWE-681: Incorrect Conversion between Numeric Types
CWE-681: Incorrect Conversion between Numeric Types
CWE-681: Incorrect Conversion between Numeric Types
CWE-195: Signed to Unsigned Conversion Error
CWE-196: Unsigned to Signed Conversion Error
CWE-192: Integer Coercion Error
CWE-194: Unexpected Sign Extension
