CWE-131: Incorrect Calculation of Buffer Size

BaseDraftExploit Likelihood: High

The product does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.

View on MITRE
Back to CWE Lookup

Technical Details

Structure
Simple

Applicable To

Languages
CC++
Platforms

Learn More

CWE-131: Incorrect Calculation of Buffer Size | CWE Lookup | Inventive HQ