1. CVE archive
  2. Vulnerability types
  3. CWE-567
CWE-567 · #399 most frequent type in the archive

Unsynchronized Access to Shared Data in a Multithreaded Context

The product does not properly synchronize shared data, such as static variables across threads, which can lead to undefined behavior and unpredictable data changes.

Part of: CWE-820 · Missing Synchronization

11CVEs of this type in the archive
0critical (CVSS ≥ 9)
1high severity (7–8.9)
Oct 30, 2026latest published

What it is

The product does not properly synchronize shared data, such as static variables across threads, which can lead to undefined behavior and unpredictable data changes.

Within servlets, shared static variables are not protected from concurrent access, but servlets are multithreaded. This is a typical programming mistake in J2EE applications, since the multithreading is handled by the framework. When a shared variable can be influenced by an attacker, one thread could wind up modifying the variable to contain data that is not valid for a different thread that is also using the data within the variable. Note that this weakness is not unique to servlets.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Availability Read Application Data, Modify Application Data, DoS: Instability, DoS: Crash, Exit, or Restart
If the shared variable contains sensitive data, it may be manipulated or displayed in another user session. If this data is used to control the application, its value can be manipulated to cause the application to crash or perform poorly.

How to prevent it

Implementation Remove the use of static variables used between servlets. If this cannot be avoided, use synchronized access for these variables.

Source: MITRE CWE catalog · Official entry on the MITRE website

CWE-567 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20211
20231
20251
20268

All CWE-567 CVEs

11 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.