CWE-299: Improper Check for Certificate Revocation

What is CWE-299?

CWE-299 is Improper Check for Certificate Revocation. The flaw arises when the product does not check or incorrectly checks the revocation status of a certificate, which may cause it to use a certificate that has been compromised. The database currently holds 14 vulnerabilities mapped to CWE-299 and none of them are in the CISA Known Exploited Vulnerabilities catalog.

OWASP TOP 10:2025 RANK7 — A07:2025 — Authentication Failures
Related CVES (365 days)14
AbstractionBase
Likelihood of exploitMedium

Vulnerabilities mapped to CWE-299

14 vulnerabilities1300% increase year over year

No data

No vulnerability data in CISA KEV for CWE-299

Official definition

ByMitre CWE

The product does not check or incorrectly checks the revocation status of a certificate, which may cause it to use a certificate that has been compromised.

An improper check for certificate revocation is a far more serious flaw than related certificate failures. This is because the use of any revoked certificate is almost certainly malicious. The most common reason for certificate revocation is compromise of the system in question, with the result that no legitimate servers will be using a revoked certificate, unless they are sorely out of sync.

Characteristics

Modes of introduction

  • 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.

Common consequences

ImpactScopeExplanation
Gain Privileges or Assume IdentityAccess ControlTrust may be assigned to an entity who is not who it claims to be.
OtherIntegrity, OtherData from an untrusted (and possibly malicious) source may be integrated.
Read Application DataConfidentialityData may be disclosed to an entity impersonating a trusted entity, resulting in information disclosure.

Risk mitigations

  1. Architecture and DesignEnsure that certificates are checked for revoked status.
  2. ImplementationIf 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

MethodApproachEffectiveness
Automated Static AnalysisAutomated 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.)High

Representative vulnerabilities

Sources (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.