---
title: "CWE-299: Improper Check for Certificate Revocation"
url: https://radicalnotion.ai/cwe/cwe-299
type: cwe
description: "The product does not check or incorrectly checks the revocation status of a certificate."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-299: Improper Check for Certificate Revocation

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **Likelihood of exploit:** Medium
- **CVEs with this as primary weakness:** 26
- **Of those, in CISA KEV:** 0
- **New in 2026:** 17
- **CWE catalog version:** 4.21

## Description

The product does not check or incorrectly checks the revocation status of a certificate.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | When the product uses certificate pinning, the developer might not properly validate all relevant components of the certificate before pinning the certificate. This can make it difficult or expensive to test after the pinning is complete. |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Applicable platforms

**Technologies:** Web Based (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Gain Privileges or Assume Identity | Trust may be assigned to an untrusted entity who somehow obtained the certificate, i.e., the entity is not who it claims to be. |
| Integrity, Other | Other | Data from an untrusted (and possibly malicious) source may be integrated. |
| Confidentiality | Read Application Data | Data may be disclosed to an untrusted entity that obtained access to the certificate, thereby impersonating a trusted entity, resulting in information disclosure. |

## Potential mitigations

### Architecture and Design

Ensure that certificates are checked for revoked status.

### 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 revoked status.

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

## Demonstrative examples

### Example 1

The following OpenSSL code ensures that there is a certificate before continuing execution.

Bad code:

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

    // got a certificate, do secret things
```

Because this code does not use SSL\_get\_verify\_results() to check the certificate, it could accept certificates that have been revoked (X509\_V\_ERR\_CERT\_REVOKED). The product could be communicating with a malicious host.

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2011-2014 | LDAP-over-SSL implementation does not check Certificate Revocation List (CRL), allowing spoofing using a revoked certificate. |
| CVE-2011-0199 | Operating system does not check Certificate Revocation List (CRL) in some cases, allowing spoofing using a revoked certificate. |
| CVE-2010-5185 | Antivirus product does not check whether certificates from signed executables have been revoked. |
| CVE-2009-3046 | Web browser does not check if any intermediate certificates are revoked. |
| CVE-2009-0161 | Chain: Ruby module for OCSP misinterprets a response, preventing detection of a revoked certificate. |
| CVE-2011-2701 | Chain: incorrect parsing of replies from OCSP responders allows bypass using a revoked certificate. |
| CVE-2011-0935 | Router can permanently cache certain public keys, which would allow bypass if the certificate is later revoked. |
| CVE-2009-1358 | Chain: OS package manager does not properly check the return value, allowing bypass using a revoked certificate. |
| CVE-2009-0642 | Chain: language interpreter does not properly check the return value from an OSCP function, allowing bypass using a revoked certificate. |
| CVE-2008-4679 | Chain: web service component does not call the expected method, which prevents a check for revoked certificates. |
| CVE-2006-4410 | Certificate revocation list not searched for certain certificates. |
| CVE-2006-4409 | Product cannot access certificate revocation list when an HTTP proxy is being used. |

## Real CVEs with this weakness (sample of 12 of 26)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-3085 | MongoDB Server running on Linux may allow unexpected connections where intermediate certificates are revoked | critical | 9.8 | - | No | 2025-04-01 |
| CVE-2026-115557 | Distrust compromised intermediate certificates in ssl module | critical | 9.4 | - | No | 2026-10-24 |
| CVE-2026-135146 | Improper certificate revocation check for stapled OCSP responses in the Python Driver | critical | 9.1 | - | No | 2026-11-25 |
| CVE-2026-4428 | CRL Distribution Point Scope Check Logic Error in AWS-LC | critical | 9.1 | - | No | 2026-03-19 |
| CVE-2020-1675 | Juniper Networks Mist Cloud UI: SAML authentication certificate vulnerability. | high | 8.3 | - | No | 2020-10-16 |
| CVE-2026-9636 | Rockwell Automation CompactLogix® 5380 ControlLogix® 5580 / 1756-EN4 Communications Module – Certificate Revocation List Vulnerability | high | 8.2 | - | No | 2026-07-14 |
| CVE-2025-11955 | Incorrect validation of OCSP certificates in TheGreenBow VPN Client Windows Enterprise | high | 8.2 | - | No | 2025-10-27 |
| CVE-2026-61699 | nebula-mesh: Certificate revocation is never enforced at the mesh | high | 8.1 | - | No | 2026-09-04 |
| CVE-2026-118696 | - | high | 8.0 | - | No | 2026-10-30 |
| CVE-2015-4748 | Java SE, JRockit, Java SE Embedded: Security - takeover | high | 7.6 | - | No | 2015-07-16 |
| CVE-2026-115570 | Electron: Mitigation for compromised eMudhra intermediate certificates | high | 7.4 | - | No | 2026-10-23 |
| CVE-2026-111943 | Distrust compromised intermediate certificates in crypto/x509 | high | 7.4 | - | No | 2026-10-21 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-295](https://radicalnotion.ai/cwe/cwe-295) | Improper Certificate Validation |
| Parent | [CWE-404](https://radicalnotion.ai/cwe/cwe-404) | Improper Resource Shutdown or Release |
| Child | [CWE-370](https://radicalnotion.ai/cwe/cwe-370) | Missing Check for Certificate Revocation after Initial Check |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| CLASP | Failure to check for certificate revocation | - | - |

## Frequently asked questions

### What is CWE-299?

The product does not check or incorrectly checks the revocation status of a certificate.

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

26 recorded CVEs are attributed to CWE-299, including CVE-2025-3085, CVE-2026-115557 and CVE-2026-135146.

### How do you prevent CWE-299?

Ensure that certificates are checked for revoked status.

### How is CWE-299 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

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

Exploiting CWE-299 can lead to: Gain Privileges or Assume Identity, Other, Read Application Data.

### Is CWE-299 actively exploited?

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

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

---

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