CWE-680

Integer Overflow to Buffer Overflow

Medium

Description

The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.

Potential Impact

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-680 vulnerabilities in your codebase.

Get Security Assessment