CWE-172: Encoding Error
The product does not properly encode or decode the data, resulting in unexpected values.
Last updated
Overview
CWE-172 (Encoding Error) is a class-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
21 recorded CVEs are caused by CWE-172 (Encoding Error). The highest-severity and most recent are shown first. 7 new CWE-172 CVEs have been recorded so far in 2026 (2 in 2025).
- CVE-2019-10160
urlsplit does not handle NFKC normalization (second fix)
Critical · CVSS 9.8 · EPSS 92th2019-06-07 - CVE-2016-6691Critical · CVSS 9.8 · EPSS 70th2016-10-10
- CVE-2025-12758
Validator is Vulnerable to Incomplete Filtering of One or More Instances of Special Elements
High · CVSS 8.7 · EPSS 43th2025-11-27