Common Weakness Enumeration

    CWE Definition / CWE-172

    CWE-172: Encoding Error

    The product does not properly encode or decode the data, resulting in unexpected values.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-707: Improper Neutralization

    CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

    CWE-41: Improper Resolution of Path Equivalence