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

Operator Precedence Logic Error

The product uses an expression in which operator precedence causes incorrect logic to be used.

Part of: CWE-670 · Always-Incorrect Control Flow Implementation

19CVEs of this type in the archive
1critical (CVSS ≥ 9)
10high severity (7–8.9)
Nov 17, 2026latest published

What it is

The product uses an expression in which operator precedence causes incorrect logic to be used.

Impact on systems

ScopeImpact
Confidentiality, Integrity, Availability Varies by Context, Unexpected State
While often just a bug, operator precedence logic errors can have serious consequences if they are used in security-critical code, such as making an authentication decision. The consequences will vary based on the context surrounding the incorrect precedence. In a security decision, violations of integrity or confidentiality are the most likely results. Otherwise, a crash may occur due to the software reaching an unexpected state.

How to prevent it

Implementation Regularly wrap sub-expressions in parentheses, especially in security-critical code.

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

CWE-783 CVEs published per year

2026: year in progress, updated every hour

Show the data as a table
YearCVE
20221
20248
20254
20266

All CWE-783 CVEs

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