CWE-297: Improper Validation of Certificate with Host Mismatch, published in 2026, page 2
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 prompt
Explain 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
- 7.6CVE-2026-42790erlang erlang\/otpEPSS 0.4%
Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_cert and public_key modules) allows a DNS nameConstraints bypass via subject CommonName fallback in TLS hostname verification. Two flaws combine to allow a sub…
- 7.4CVE-2026-44467anthropic claude desktopEPSS 0.1%
The Claude Desktop app gives you Claude Code with a graphical interface built for running multiple sessions side by side. From 1.2581.0 to before 1.4304.0, Claude Desktop's SSH remote development feature verified only whether a hostname ex…
- 7.3CVE-2026-43869apache thriftEPSS 0.6%
Improper Validation of Certificate with Host Mismatch vulnerability in Apache Thrift. This issue affects Apache Thrift: before 0.23.0. Users are recommended to upgrade to version 0.23.0, which fixes the issue.
- 8.1CVE-2026-22747vmware spring securityEPSS 0.2%
Vulnerability in Spring Spring Security. SubjectX500PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate,…
- 6.3CVE-2026-34477apache log4jEPSS 0.6%
The fix for CVE-2025-68161 https://logging.apache.org/security.html#CVE-2025-68161 was incomplete: it addressed hostname verification only when enabled via the log4j2.sslVerifyHostName https://logging.apache.org/log4j/2.x/manual/systemp…
- 5.3CVE-2025-59060apache rangerEPSS 0.5%
Hostname verification bypass issue in Apache Ranger NiFiRegistryClient is reported in Apache Ranger versions <= 2.7.0. Users are recommended to upgrade to version 2.8.0, which fixes this issue.
- 9.1CVE-2026-26214xiaomi technology co., ltd. galaxy fds android sdkEPSS 0.2%
Galaxy FDS Android SDK (XiaoMi/galaxy-fds-sdk-android) version 3.0.8 and prior disable TLS hostname verification when HTTPS is enabled (the default configuration). In GalaxyFDSClientImpl.createHttpClient(), the SDK configures Apache HttpCl…
- 5.3CVE-2025-15079haxx curlEPSS 0.5%
When doing SSH-based transfers using either SCP or SFTP, and setting the known_hosts file, libcurl could still mistakenly accept connecting to hosts *not present* in the specified file if they were added as recognized in the libssh *global…
- 9.1CVE-2025-68637apache uniffleEPSS 0.3%
The Uniffle HTTP client is configured to trust all SSL certificates and disables hostname verification by default. This insecure configuration exposes all REST API communication between the Uniffle CLI/client and the Uniffle Coordinator s…