Common Weakness Enumeration

    CWE Definition / CWE-297

    CWE-297: Improper Validation of Certificate with Host Mismatch

    The product communicates with a host that provides a certificate, but the product does not properly ensure that the certificate is actually associated with that host.

    Published:19 Jul 2006
    Organization:MITRE
    Modified:30 Apr 2026

    Related Weakness

    CWE-923: Improper Restriction of Communication Channel to Intended Endpoints

    CWE-295: Improper Certificate Validation