Skip to content
OpenAdvisories

Weakness (CWE)

CWE-124: Buffer Underwrite

Base Incomplete

The product writes to a buffer using an index or pointer that references a memory location prior to the beginning of the buffer.

How to prevent it (2 mitigations)
  1. Requirements

    Choose a language that is not susceptible to these issues.

  2. Implementation

    All calculated values that are used as index or for pointer arithmetic should be validated to ensure that they are within an expected range.

Source: MITRE CWE-124

0 results · Clear filters · Feed

Nothing found.