---
title: "CWE-599: Missing Validation of OpenSSL Certificate"
url: https://radicalnotion.ai/cwe/cwe-599
type: cwe
description: "The product uses OpenSSL and trusts or uses a certificate without using the SSL_get_verify_result() function to ensure that the certificate satisfies all necessary security requirements."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-599: Missing Validation of OpenSSL Certificate

- **Abstraction:** Variant
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 12
- **Of those, in CISA KEV:** 0
- **New in 2026:** 2
- **CWE catalog version:** 4.21

## Description

The product uses OpenSSL and trusts or uses a certificate without using the SSL\_get\_verify\_result() function to ensure that the certificate satisfies all necessary security requirements.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | The data read may not be properly secured - it might be viewed by an attacker. |
| Access Control | Bypass Protection Mechanism, Gain Privileges or Assume Identity | Trust afforded to the system in question may allow for spoofing or redirection attacks. |
| Access Control | Gain Privileges or Assume Identity | If the certificate is not checked, it may be possible for a redirection or spoofing attack to allow a malicious host with a valid certificate to provide data under the guise of a trusted host. While the attacker in question may have a valid certificate, it may simply be a valid certificate for a different site. This could allow an attacker to use an invalid certificate to claim to be a trusted host, use expired certificates, or conduct other attacks that could be detected if the certificate is properly validated. In order to ensure data integrity, we must check that the certificate is valid, and that it pertains to the site we wish to access. |

## Potential mitigations

### Architecture and Design

Ensure that proper authentication is included in the system design.

### Implementation

Understand and properly implement all checks necessary to ensure the identity of entities involved in encrypted communications.

## Demonstrative examples

### Example 1

The following OpenSSL code ensures that the host has a certificate.

Bad code:

```c
if (cert = SSL_get_peer_certificate(ssl)) {

    // got certificate, host can be trusted

    //foo=SSL_get_verify_result(ssl);

    //if (X509_V_OK==foo) ...
}
```

Note that the code does not call SSL\_get\_verify\_result(ssl), which effectively disables the validation step that checks the certificate.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-12553 | Server Certificate Verification Disabled | critical | 10.0 | - | No | 2025-10-31 |
| CVE-2024-41265 | cortex establishes TLS connections with \`InsecureSkipVerify\` set to \`true\` | high | 8.7 | - | No | 2024-08-01 |
| CVE-2024-40464 | Beego privilege escalation vulnerability | high | 8.7 | - | No | 2024-07-31 |
| CVE-2026-25060 | OpenList Insecure TLS Default Configuration | high | 8.1 | - | No | 2026-02-02 |
| CVE-2025-56230 | - | high | 7.5 | - | No | 2025-11-04 |
| CVE-2023-48052 | HTTPie allows attackers to eavesdrop on communications between the host and server via a man-in-the-middle attack | high | 7.4 | - | No | 2023-11-16 |
| CVE-2024-41253 | - | high | 7.1 | - | No | 2024-07-31 |
| CVE-2025-56232 | - | medium | 6.8 | - | No | 2025-11-05 |
| CVE-2024-36755 | - | medium | 6.8 | - | No | 2024-06-27 |
| CVE-2025-56146 | - | medium | 5.3 | - | No | 2025-09-23 |
| CVE-2026-62657 | Certificate validation vulnerability in NETGEAR Gaming Router and certain Nighthawk models | medium | 4.9 | - | No | 2026-07-14 |
| CVE-2025-63432 | - | medium | 4.6 | - | No | 2025-11-24 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-295](https://radicalnotion.ai/cwe/cwe-295) | Improper Certificate Validation |

## Frequently asked questions

### What is CWE-599?

The product uses OpenSSL and trusts or uses a certificate without using the SSL\_get\_verify\_result() function to ensure that the certificate satisfies all necessary security requirements.

### What CVEs are caused by CWE-599?

12 recorded CVEs are attributed to CWE-599, including CVE-2025-12553, CVE-2024-41265 and CVE-2024-40464.

### How do you prevent CWE-599?

Ensure that proper authentication is included in the system design.

### What are the consequences of CWE-599?

Exploiting CWE-599 can lead to: Read Application Data, Bypass Protection Mechanism, Gain Privileges or Assume Identity.

### Is CWE-599 actively exploited?

12 recorded CVEs are caused by CWE-599; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/599.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-599). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
