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.
Last updated
Overview
CWE-197 (Numeric Truncation Error) 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
98 recorded CVEs are caused by CWE-197 (Numeric Truncation Error), including 1 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 62 new CWE-197 CVEs have been recorded so far in 2026 (3 in 2025).