CWE-783: Operator Precedence Logic Error, published in 2022
Filter
The product uses an expression in which operator precedence causes incorrect logic to be used.
What the weakness is: CWE-783 at MITRE. All weaknesses
Ask an AI about CWE-783
Show the prompt
Explain CWE-783: Operator Precedence Logic Error and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/783.html and https://cve.bz/cve/cwe/783?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 7.8CVE-2022-20477google androidEPSS 0.1%
In shouldHideNotification of KeyguardNotificationVisibilityProvider.kt, there is a possible way to show hidden notifications due to a logic error in the code. This could lead to local escalation of privilege with no additional execution pr…