CWE-806: Buffer Access Using Size of Source Buffer

ID CWE-806
Abstraction Variant
Structure Simple
Status Incomplete
The product uses the size of a source buffer when reading from or writing to a destination buffer, which may cause it to access memory that is outside of the bounds of the buffer.

When the size of the destination is smaller than the size of the source, a buffer overflow could occur.

Modes of Introduction

Phase Note
Implementation

Applicable Platforms

Type Class Name Prevalence
Language C
Language C++

Relationships

View Weakness
# ID View Status # ID Name Abstraction Structure Status
CWE-1000 Research Concepts Draft CWE-805 Buffer Access with Incorrect Length Value Base Simple Incomplete
Loading...
Loading...