The software does not validate, or incorrectly validates, a certificate. When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by using a man-in-the-middle (MITM) attack. The software might connect to a malicious host while believing it is a trusted host, or the software might be deceived into accepting spoofed data that appears to originate from a trusted host.The weakness is introduced during Architecture and Deign, Implementation stages.
Latest vulnerabilities for CWE-295
Description of CWE-295 on Mitre website