Common Weakness Enumeration

    CWE Definition / CWE-680

    CWE-680: Integer Overflow to Buffer Overflow

    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.

    Published:11 Apr 2008
    Organization:MITRE
    Modified:11 Dec 2025

    Related Weakness

    CWE-190: Integer Overflow or Wraparound

    CWE-190: Integer Overflow or Wraparound