---
title: "CWE-572: Call to Thread run() instead of start()"
url: https://radicalnotion.ai/cwe/cwe-572
type: cwe
description: "The product calls a thread's run() method instead of calling start()."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-572: Call to Thread run() instead of start()

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

## Description

The product calls a thread's run() method instead of calling start().

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | In most cases, a direct call to a Thread object's run() method is a bug. The programmer intended to begin a new thread of control, but accidentally called run() instead of start(). |

## Applicable platforms

**Languages:** Java (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Other | Quality Degradation, Varies by Context | The run() method will execute in the caller's thread of control, when the intention was likely to run in the thread of the callee. |

## Potential mitigations

### Implementation

Use the start() method instead of the run() method.

## 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 excerpt from a Java program mistakenly calls run() instead of start().

Bad code:

```java
Thread thr = new Thread() {
    public void run() {
        ...
    }
};

thr.run();
```

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-821](https://radicalnotion.ai/cwe/cwe-821) | Incorrect Synchronization |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| The CERT Oracle Secure Coding Standard for Java (2011) | Do not invoke Thread.run() | THI00-J | - |
| Software Fault Patterns | Use of an improper API | SFP3 | - |

## Frequently asked questions

### What is CWE-572?

The product calls a thread's run() method instead of calling start().

### How do you prevent CWE-572?

Use the start() method instead of the run() method.

### How is CWE-572 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-572?

Exploiting CWE-572 can lead to: Quality Degradation, Varies by Context.

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

---

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