cve.bz

CWE-297: Improper Validation of Certificate with Host Mismatch, published in 2025

Filter

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.

What the weakness is: CWE-297 at MITRE. OWASP Top 10: A07:2025 Authentication Failures. All weaknesses

Ask an AI about CWE-297

Show the promptExplain CWE-297: Improper Validation of Certificate with Host Mismatch and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/297.html and https://cve.bz/cve/cwe/297?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 6.3CVE-2025-68161apache log4jEPSS 0.8%

    The Socket Appender in Apache Log4j Core versions 2.0-beta9 through 2.25.2 does not perform TLS hostname verification of the peer certificate, even when the verifyHostName https://logging.apache.org/log4j/2.x/manual/appenders/network.html…

  2. 7.5CVE-2025-25253fortinetEPSS 0.1%

    An Improper Validation of Certificate with Host Mismatch vulnerability [CWE-297] in FortiProxy version 7.6.1 and below, version 7.4.8 and below, 7.2 all versions, 7.0 all versions and FortiOS version 7.6.2 and below, version 7.4.8 and belo…

  3. 9.8CVE-2025-46408avtech eagleeyes\(lite\)EPSS 0.7%

    An issue was discovered in the methods push.lite.avtech.com.AvtechLib.GetHttpsResponse and push.lite.avtech.com.Push_HttpService.getNewHttpClient in AVTECH EagleEyes 2.0.0. The methods set ALLOW_ALL_HOSTNAME_VERIFIER, bypassing domain vali…

  4. 7.3CVE-2024-12925akınsoft qr menüEPSS 0.2%

    Improper Validation of Certificate with Host Mismatch vulnerability in Akınsoft QR Menü allows HTTP Response Splitting. This issue affects QR Menü: from s1.05.05 before v1.05.12.

  5. 4.6CVE-2025-4295hotelrunner b2bEPSS 0.1%

    Improper Validation of Certificate with Host Mismatch vulnerability in HotelRunner B2B allows HTTP Response Splitting. This issue affects B2B: before 04.06.2025.

  6. 4.9CVE-2025-49015couchbase .net sdkEPSS 0.2%

    The Couchbase .NET SDK (client library) before 3.7.1 does not properly enable hostname verification for TLS certificates. In fact, the SDK was also using IP addresses instead of hostnames due to a configuration option that was incorrectly …

  7. 6.5CVE-2024-54019fortinet forticlientEPSS 0.2%

    A improper validation of certificate with host mismatch in Fortinet FortiClientWindows version 7.4.0, versions 7.2.0 through 7.2.6, and 7.0 all versions allow an unauthorized attacker to redirect VPN connections via DNS spoofing or another…

  8. 8.2CVE-2025-3501EPSS 0.5%

    A flaw was found in Keycloak. By setting a verification policy to 'ALL', the trust store certificate verification is skipped, which is unintended.

  9. 6.5CVE-2025-42921jetbrains toolboxEPSS 0.2%

    In JetBrains Toolbox App before 2.6 host key verification was missing in SSH plugin

  10. 8.1CVE-2025-2190tecno com.transsnet.storeEPSS 0.3%

    The mobile application (com.transsnet.store) has a man-in-the-middle attack vulnerability, which may lead to code injection risks.

  11. 8.2CVE-2024-49782ibm openpages with watsonEPSS 0.4%

    IBM OpenPages with Watson 8.3 and 9.0  could allow a remote attacker to spoof mail server identity when using SSL/TLS security. An attacker could exploit this vulnerability to gain access to sensitive information disclosed through email…