---
title: "CWE-385: Covert Timing Channel"
url: https://radicalnotion.ai/cwe/cwe-385
type: cwe
description: "Covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-385: Covert Timing Channel

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

## Description

Covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information.

Some examples of covert timing channels are the system's paging rate, the time a certain transaction requires to execute, and the time it takes to gain access to a shared bus.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | - |
| Implementation | - |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality, Other | Read Application Data, Other | In some instances, knowing when data is transmitted between parties can provide a malicious user with privileged information. Also, externally monitoring the timing of operations can potentially reveal sensitive data. For example, a cryptographic operation can expose its internal state if the time it takes to perform the operation varies, based on the state. |

## Potential mitigations

### Architecture and Design

Whenever possible, specify implementation strategies that do not introduce time variances in operations.

### Implementation

Often one can artificially manipulate the time which operations take or -- when operations occur -- can remove information from the attacker.

### Implementation

It is reasonable to add artificial or random delays so that the amount of CPU time consumed is independent of the action being taken by the application.

## Demonstrative examples

### Example 1

In this example, the attacker observes how long an authentication takes when the user types in the correct password.

Bad code:

```python
def validate_password(actual_pw, typed_pw):
    if len(actual_pw) <> len(typed_pw):
        return 0

    for i in len(actual_pw):
        if actual_pw[i] <> typed_pw[i]:
            return 0

    return 1
```

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2020-35166 | - | critical | 9.8 | - | No | 2022-07-11 |
| CVE-2020-29506 | - | critical | 9.8 | - | No | 2022-07-11 |
| CVE-2026-5598 | Non-constant time comparisons risk private key leakage in FrodoKEM. | high | 8.9 | - | No | 2026-04-15 |
| CVE-2026-6478 | PostgreSQL discloses MD5-hashed passwords via covert timing channel | high | 8.2 | - | No | 2026-05-14 |
| CVE-2020-25659 | RSA decryption vulnerable to Bleichenbacher timing vulnerability | high | 8.2 | - | No | 2021-01-11 |
| CVE-2020-25658 | Timing attacks in python-rsa | high | 8.2 | - | No | 2020-11-12 |
| CVE-2020-35164 | - | high | 8.1 | - | No | 2022-07-11 |
| CVE-2023-3640 | Kernel: x86/mm: a per-cpu entry area leak was identified through the init\_cea\_offsets function when prefetchnta and prefetcht2 instructions being used for the per-cpu entry area mapping to the user space | high | 7.8 | - | No | 2023-07-24 |
| CVE-2025-59425 | vLLM vulnerable to timing attack at bearer auth | high | 7.5 | - | No | 2025-10-07 |
| CVE-2024-25964 | - | high | 7.5 | - | No | 2024-03-25 |
| CVE-2022-24409 | - | high | 7.5 | - | No | 2022-02-23 |
| CVE-2019-3732 | - | high | 7.5 | - | No | 2019-09-30 |

## Related attack patterns (CAPEC)

- [CAPEC-462](https://radicalnotion.ai/capec/capec-462): Cross-Domain Search Timing

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-514](https://radicalnotion.ai/cwe/cwe-514) | Covert Channel |
| Related | [CWE-208](https://radicalnotion.ai/cwe/cwe-208) | Observable Timing Discrepancy |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| Landwehr | Timing | - | - |
| CLASP | Covert Timing Channel | - | - |

## Frequently asked questions

### What is CWE-385?

Covert timing channels convey information by modulating some aspect of system behavior over time, so that the program receiving the information can observe system behavior and infer protected information.

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

51 recorded CVEs are attributed to CWE-385, including CVE-2020-35166, CVE-2020-29506 and CVE-2026-5598.

### How do you prevent CWE-385?

Whenever possible, specify implementation strategies that do not introduce time variances in operations.

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

Exploiting CWE-385 can lead to: Read Application Data, Other.

### Is CWE-385 actively exploited?

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

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

---

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