CWE-682: Incorrect Calculation

PillarDraftExploit Likelihood: High

The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.

View on MITRE
Back to CWE Lookup

Extended Description

When product performs a security-critical calculation incorrectly, it might lead to incorrect resource allocations, incorrect privilege assignments, or failed comparisons among other things. Many of the direct results of an incorrect calculation can lead to even larger problems such as failed protection mechanisms or even arbitrary code execution.

Technical Details

Structure
Simple

Applicable To

Languages
Not Language-Specific
Platforms

Learn More