CWE-295: Improper Certificate Validation
1671 CVEs have CWE-295 as their primary weakness. 5 of them are in the CISA KEV catalog. The highest EPSS score among them is 89.078%.
The product does not validate, or incorrectly validates, a certificate.
Child of CWE-287: Improper Authentication
Mitigations
- 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.
Observed examples
- CVE-2019-12496: A Go framework for robotics, drones, and IoT devices skips verification of root CA certificates by default.
- CVE-2014-1266: Chain: incorrect goto in Apple SSL product bypasses certificate validation, allowing Adversary-in-the-Middle (AITM) attack (Apple goto fail bug). CWE-705 (Incorrect Control Flow Scoping) -> CWE-561 (Dead Code) -> CWE-295 (Improper Certificate Validation) -> CWE-393 (Return of Wrong Status Code) -> CWE-300 (Channel Accessible by Non-Endpoint). The code's whitespace indentation did not reflect the actual control flow (CWE-1114) and did not explicitly delimit the block (CWE-483), which could have made it more difficult for human code auditors to detect the vulnerability.
- CVE-2021-22909: Chain: router's firmware update procedure uses curl with -k (insecure) option that disables certificate validation (CWE-295), allowing adversary-in-the-middle (AITM) compromise with a malicious firmware image (CWE-494).
- CVE-2008-4989: Verification function trusts certificate chains in which the last certificate is self-signed.
- CVE-2012-5821: Chain: Web browser uses a TLS-related function incorrectly, preventing it from verifying that a server's certificate is signed by a trusted certification authority (CA).
- CVE-2009-3046: Web browser does not check if any intermediate certificates are revoked.
- CVE-2011-0199: Operating system does not check Certificate Revocation List (CRL) in some cases, allowing spoofing using a revoked certificate.
- CVE-2012-5810: Mobile banking application does not verify hostname, leading to financial loss.
- CVE-2012-3446: Cloud-support library written in Python uses incorrect regular expression when matching hostname.
- CVE-2009-2408: Web browser does not correctly handle '0' character (NUL) in Common Name, allowing spoofing of https sites.
- CVE-2012-2993: Smartphone device does not verify hostname, allowing spoofing of mail services.
- CVE-2012-5822: Application uses third-party library that does not validate hostname.
- CVE-2012-5819: Cloud storage management application does not validate hostname.
- CVE-2012-5817: Java library uses JSSE SSLSocket and SSLEngine classes, which do not verify the hostname.
- CVE-2010-1378: Chain: incorrect calculation (CWE-682) allows attackers to bypass certificate checks (CWE-295)
- CVE-2007-6746: library for SSL and TLS does not check the activation or expiration dates of CA certificates
- CVE-2005-3170: LDAP client accepts certificates even if they are not from a trusted CA.
- CVE-2009-0265: Chain: DNS server does not correctly check return value from the OpenSSL EVP_VerifyFinal function allows bypass of validation of the certificate chain.
- CVE-2003-1229: Chain: product checks if client is trusted when it intended to check if the server is trusted, allowing validation of signed code.
- CVE-2002-0862: Cryptographic API, as used in web browsers, mail clients, and other software, does not properly validate Basic Constraints.
- CVE-2009-1358: Chain: OS package manager does not properly check the return value, allowing bypass using a revoked certificate.
Top released CVEs
KEV first, then the highest EPSS score, the highest CVSS score and the newest.
| CVE | Published | Severity | CVSS | EPSS | Description |
|---|---|---|---|---|---|
| CVE-2020-0601 | 2020-01-14 | HIGH | 8.1 | 89.078% | A spoofing vulnerability exists in the way Windows CryptoAPI (Crypt32.dll) validates Elliptic Curve Cryptography (ECC) certificates.An attacker could exploit… |
| CVE-2022-26923 | 2022-05-10 | HIGH | 8.8 | 83.500% | Active Directory Domain Services Elevation of Privilege Vulnerability |
| CVE-2026-85102 | 2026-09-09 | CRITICAL | 9.8 | 54.140% | Improper certificate trust validation during VPN negotiation in Check Point Quantum Security Gateway may allow an unauthenticated remote attacker to execute… |
| CVE-2023-41991 | 2023-09-21 | MEDIUM | 5.5 | 19.803% | A certificate validation issue was addressed. This issue is fixed in macOS Ventura 13.6, iOS 16.7 and iPadOS 16.7. A malicious app may be able to bypass… |
| CVE-2023-20963 | 2023-03-24 | HIGH | 7.8 | 1.465% | In WorkSource, there is a possible parcel mismatch. This could lead to local escalation of privilege with no additional execution privileges needed. User… |
| CVE-2026-118497 | 2026-11-17 | MEDIUM | 6.8 | 0.214% | The affected products do not sufficiently validate CODESYS Automation Server TLS certificates when a user starts the certificate enrollment. An unauthenticated… |
| CVE-2026-129888 | 2026-11-16 | MEDIUM | 6.8 | 0.185% | Cetmix Tower through 17.0.3.0.0 and 18.0 before 18.0.4.0.1 contains an improper SSH host key verification vulnerability in SSHConnection.connect() that falls… |
| CVE-2026-129306 | 2026-11-16 | MEDIUM | 4.4 | 0.160% | libspdm is a sample implementation that follows the DMTF SPDM specifications. Prior to 3.8.3 and 4.0.0-rc2, libspdm_x509_verify_cert_chain() in… |
| CVE-2026-21158 | 2026-11-16 | MEDIUM | 4.3 | 0.096% | Improper certificate validation in CP prior to SMR Nov-2026 Release 1 allows local privileged attackers to bypass SIM lock. |
| CVE-2026-123050 | 2026-11-17 | HIGH | 7.1 | not scored | Multiple Farmasimplex healthcare integration modules do not properly validate TLS certificates, allowing an attacker who can intercept network traffic to… |
| CVE-2026-100978 | 2026-11-17 | MEDIUM | 6.4 | not scored | NVIDIA OpenShell for Linux contains a vulnerability in its gateway-to-sandbox transport where a network attacker positioned on the internal path could… |
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cwe_lookup/CWE-295'curl 'https://api.contrastcyber.com/cve_search?cwe_id=CWE-295'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).