CWE-131

Overview
  • CWE ID
  • 131
  • CWE Name
  • Incorrect Calculation of Buffer Size
  • CWE Abstraction
  • Base
  • CWE structure
  • Simple
  • CWE Status
  • Draft
Description
The software does not correctly calculate the size to be used when allocating a buffer, which could lead to a buffer overflow.
Extended Description
Related CWEs
CWE ID View ID Nature Ordinal
682 1000 ChildOf Primary
682 1003 ChildOf Primary
682 1305 ChildOf Primary
682 1340 ChildOf Primary
119 1000 CanPrecede