CWE

Common Weakness Enumeration

A Community-Developed Dictionary of Software Weakness Types

Common Weakness Scoring System
Common Weakness Risk Analysis Framework
Home > CWE List > CWE- Individual Dictionary Definition (2.8)  

Presentation Filter:

CWE-876: CERT C++ Secure Coding Section 08 - Memory Management (MEM)

 
CERT C++ Secure Coding Section 08 - Memory Management (MEM)
Category ID: 876 (Category)Status: Incomplete
+ Description

Description Summary

Weaknesses in this category are related to rules in the Memory Management (MEM) section of the CERT C++ Secure Coding Standard. Since not all rules map to specific weaknesses, this category may be incomplete.
+ Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ParentOfWeakness ClassWeakness Class20Improper Input Validation
Weaknesses Addressed by the CERT C++ Secure Coding Standard868
ParentOfWeakness ClassWeakness Class119Improper Restriction of Operations within the Bounds of a Memory Buffer
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base128Wrap-around Error
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base131Incorrect Calculation of Buffer Size
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base190Integer Overflow or Wraparound
Weaknesses Addressed by the CERT C++ Secure Coding Standard868
ParentOfWeakness BaseWeakness Base226Sensitive Information Uncleared Before Release
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness VariantWeakness Variant244Improper Clearing of Heap Memory Before Release ('Heap Inspection')
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base252Unchecked Return Value
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base391Unchecked Error Condition
Weaknesses Addressed by the CERT C++ Secure Coding Standard868
ParentOfWeakness BaseWeakness Base404Improper Resource Shutdown or Release
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness VariantWeakness Variant415Double Free
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base416Use After Free
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base476NULL Pointer Dereference
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness VariantWeakness Variant528Exposure of Core Dump File to an Unauthorized Control Sphere
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness VariantWeakness Variant590Free of Memory not on the Heap
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness VariantWeakness Variant591Sensitive Data Storage in Improperly Locked Memory
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base665Improper Initialization
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness VariantWeakness Variant687Function Call With Incorrectly Specified Argument Value
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfCompound Element: ChainCompound Element: Chain690Unchecked Return Value to NULL Pointer Dereference
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness ClassWeakness Class703Improper Check or Handling of Exceptional Conditions
Weaknesses Addressed by the CERT C++ Secure Coding Standard868
ParentOfWeakness ClassWeakness Class754Improper Check for Unusual or Exceptional Conditions
Weaknesses Addressed by the CERT C++ Secure Coding Standard868
ParentOfWeakness VariantWeakness Variant762Mismatched Memory Management Routines
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base770Allocation of Resources Without Limits or Throttling
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
ParentOfWeakness BaseWeakness Base822Untrusted Pointer Dereference
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
MemberOfViewView868Weaknesses Addressed by the CERT C++ Secure Coding Standard
Weaknesses Addressed by the CERT C++ Secure Coding Standard (primary)868
+ Content History
Submissions
Submission DateSubmitterOrganizationSource
2011-08-04Internal CWE Team
Page Last Updated: July 30, 2014