Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-295 (证书验证不恰当) — Vulnerability Class 822

822 vulnerabilities classified as CWE-295 (证书验证不恰当). AI Chinese analysis included.

CWE-295 represents a critical cryptographic weakness where software fails to properly validate digital certificates, undermining the integrity of secure communications. Attackers typically exploit this flaw by performing man-in-the-middle attacks, intercepting traffic between a client and server. By presenting a forged or invalid certificate, adversaries can decrypt sensitive data, inject malicious content, or impersonate legitimate services without detection. This vulnerability is particularly dangerous in applications relying on Transport Layer Security for confidentiality. To prevent such breaches, developers must implement rigorous certificate validation mechanisms, ensuring that the presented certificate is signed by a trusted Certificate Authority and matches the expected hostname. Additionally, enabling Certificate Pinning and strictly rejecting expired or revoked certificates further hardens the application against interception attempts, thereby preserving the authenticity and security of the data exchange.

MITRE CWE Description
The product does not validate, or incorrectly validates, a certificate.
Common Consequences (1)
Integrity, Authentication Bypass Protection Mechanism, Gain Privileges or Assume Identity
When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting s…
Mitigations (2)
Architecture and Design, Implementation Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Implementation If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.
Examples (2)
This code checks the certificate of a connected peer.
if ((cert = SSL_get_peer_certificate(ssl)) && host) foo=SSL_get_verify_result(ssl); if ((X509_V_OK==foo) || X509_V_ERR_SELF_SIGNED_CERT_IN_CHAIN==foo)) // certificate looks good, host can be trusted
Bad · C
The following OpenSSL code obtains a certificate and verifies it.
cert = SSL_get_peer_certificate(ssl); if (cert && (SSL_get_verify_result(ssl)==X509_V_OK)) { // do secret things }
Bad · C
CVE ID Title CVSS Severity Published
CVE-2026-56820 Netty: Missing CertificateID Validation in OCSP Response Allows Replay Attacks — netty 7.4 High 2026-07-21
CVE-2026-56624 Apache MINA SSHD: SSH certificate options lack validations — Apache MINA SSHD 7.3 High 2026-07-20
CVE-2026-46428 lettre has TLS hostname verification disabled when using Boring TLS backend — lettre - - 2026-07-20
CVE-2026-13410 Dancer::Plugin::Auth::Google versions before 0.08 for Perl have TLS verification disabled — Dancer::Plugin::Auth::Google - - 2026-07-17
CVE-2026-50302 Windows Cryptographic Services Security Feature Bypass Vulnerability — Windows 10 Version 21H2 4.2 Medium 2026-07-14
CVE-2026-47632 Azure Connected Machine Agent Elevation of Privilege Vulnerability — Azure Connected Machine Agent 8.8 High 2026-07-14
CVE-2026-55001 Active Directory Domain Services Elevation of Privilege Vulnerability — Windows 10 Version 1607 7.8 High 2026-07-14
CVE-2026-59836 Fortinet FortiClientEMS 加密问题漏洞 — FortiClientEMS 6.7 High 2026-07-14
CVE-2026-15683 Lorex 2K Indoor Wi-Fi Security Camera Device Management Server Improper Certificate Validation Vulnerability — 2K Indoor Wi-Fi Security Camera - - 2026-07-13
CVE-2026-22093 Adversary-in-the-Middle (AitM) attack vulnerability in EVbee Service app — EVbee Service - - 2026-07-13
CVE-2026-54919 cpp-httplib: TLS certificate chain verification bypassed for IP-literal hosts on Mbed TLS and wolfSSL backends — cpp-httplib 7.4 High 2026-07-10
CVE-2026-0277 Prisma Access Agent: Improper Certificate Validation on iOS — Prisma Access Agent - - 2026-07-09
CVE-2026-59818 etcd: gRPC client listener does not enforce `--client-crl-file` certificate revocation — etcd 6.5 Medium 2026-07-08
CVE-2026-55436 Coder's AI Bridge Proxy skips TLS certificate verification in default configuration — coder 7.4 High 2026-07-08
CVE-2026-6900 Improper Certificate Validation — APROL 7.4 High 2026-07-06
CVE-2026-8286 wrong STARTTLS connection reuse — curl - - 2026-07-03
CVE-2026-11564 Native CA trust persist — curl - - 2026-07-03
CVE-2026-8480 Connection possible to the Administration portal with a revoked certificate — Stormshield Network Security 4.3 Medium 2026-07-01
CVE-2026-12374 Improper XPC caller certificate validation and TOCTOU race condition in macOS PrivilegedHelperTool — SDP Client - - 2026-07-01
CVE-2026-7532 iPAddress name constraints not enforced when WOLFSSL_IP_ALT_NAME is undefined — wolfSSL - - 2026-06-25
CVE-2026-10098 OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status — wolfSSL - - 2026-06-25
CVE-2026-6450 CRL critical extension bypass in ParseCRL_Extensions — wolfSSL - - 2026-06-25
CVE-2026-6731 X.509 name constraint bypass via Subject CN treated as a DNS name — wolfSSL - - 2026-06-25
CVE-2026-10592 Wildcard DNS SAN bypasses CA name-constraint checks — wolfSSL - - 2026-06-25
CVE-2026-11310 X.509 trust-chain bypass in wolfSSL_X509_verify_cert() via untrusted intermediate anchoring — wolfSSL - - 2026-06-25
CVE-2026-55960 Un-negotiated Raw Public Key (RFC 7250) accepted in place of X.509, bypassing chain validation — wolfSSL - - 2026-06-25
CVE-2026-55964 Chain intermediate CA:TRUE without keyCertSign accepted as a signing CA (temporary CA exemption) — wolfSSL - - 2026-06-25
CVE-2026-11999 X.509 trust-chain bypass via path-depth exhaustion in wolfSSL_X509_verify_cert() — wolfSSL - - 2026-06-25
CVE-2026-6091 Partial-chain verification accepts untrusted intermediate as trust anchor — wolfSSL - - 2026-06-25
CVE-2026-46734 Dell Display and Peripheral Manager 加密问题漏洞 — Display and Peripheral Manager 7.3 High 2026-06-25

Vulnerabilities classified as CWE-295 (证书验证不恰当) represent 822 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.