[Forgot Password]
Login  Register Subscribe

23631

 
 

115083

 
 

97147

 
 

909

 
 

78764

 
 

109

Paid content will be excluded from the download.


Download | Alert*
CWE
view XML

Out-of-bounds Write

ID: 787Date: (C)2012-05-14   (M)2017-11-16
Type: weaknessStatus: INCOMPLETE
Abstraction Type: Base





Description

The software writes data past the end, or before the beginning, of the intended buffer.

Extended Description

This typically occurs when the pointer or its index is incremented or decremented to a position beyond the bounds of the buffer or when pointer arithmetic results in a position outside of the valid memory location to name a few. This may result in corruption of sensitive information, a crash, or code execution among other things.

Applicable Platforms
None

Common Consequences

ScopeTechnical ImpactNotes
Integrity
Availability
Confidentiality
 
Modify memory
DoS: crash / exit / restart
Execute unauthorized code or commands
 
 

Detection Methods
None

Potential Mitigations
None

Relationships

Related CWETypeViewChain
CWE-787 ChildOf CWE-119 Weakness CWE-1000
CWE-699 
 

Demonstrative Examples   (Details)

  1. The following code attempts to save four different identification numbers into an array.

White Box Definitions
None

Black Box Definitions
None

Taxynomy Mappings
None

References:
None

© 2013 SecPod Technologies