CWE Data

984 records · Showing 391–405 of page 27/66

Identifier▼Title⇅Description⇅Subject URL⇅
469Use of Pointer Subtraction to Determine SizeThe product subtracts one pointer from another in order to determine size, but this calculation can be incorrect if the pointers do not exist in the same memory chunk.https://sepses.org/resource/cwe/CWE-469
468Incorrect Pointer ScalingIn C and C++, one may often accidentally refer to the wrong memory due to the semantics of when math operations are implicitly scaled.https://sepses.org/resource/cwe/CWE-468
467Use of sizeof() on a Pointer TypeThe code calls sizeof() on a pointer type, when the programmer intended to determine the size of the data that is being pointed to.https://sepses.org/resource/cwe/CWE-467
466Return of Pointer Value Outside of Expected RangeA function can return a pointer to memory that is outside of the buffer that the pointer is expected to reference.https://sepses.org/resource/cwe/CWE-466
464Addition of Data Structure SentinelThe accidental addition of a data-structure sentinel can cause serious programming logic problems.https://sepses.org/resource/cwe/CWE-464
463Deletion of Data Structure SentinelThe accidental deletion of a data-structure sentinel can cause serious programming logic problems.https://sepses.org/resource/cwe/CWE-463
462Duplicate Key in Associative List (Alist)Duplicate keys in associative lists can lead to non-unique keys being mistaken for an error.https://sepses.org/resource/cwe/CWE-462
460Improper Cleanup on Thrown ExceptionThe product does not clean up its state or incorrectly cleans up its state when an exception is thrown.https://sepses.org/resource/cwe/CWE-460
46Path Equivalence: 'filename ' (Trailing Space)The product accepts path input in the form of trailing space ('filedir ') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.https://sepses.org/resource/cwe/CWE-46
459Incomplete CleanupThe product does not properly "clean up" and remove temporary or supporting resources after they have been used.https://sepses.org/resource/cwe/CWE-459
458DEPRECATED: Incorrect InitializationThis weakness has been deprecated because its name and description did not match. The description duplicated CWE-454, while the name suggested a more abstract initialization problem. Please refer to CWE-665 for the more abstract problem.https://sepses.org/resource/cwe/CWE-458
457Use of Uninitialized VariableThe code uses a variable that has not been initialized, leading to unpredictable or unintended results.https://sepses.org/resource/cwe/CWE-457
456Missing Initialization of a VariableThe product does not initialize critical variables.https://sepses.org/resource/cwe/CWE-456
455Non-exit on Failed InitializationThe product does not exit or otherwise modify its operation when security-relevant errors occur during initialization, such as when a configuration file has a format error or a hardware security module (HSM) cannot be activated, which can cause the product to execute in a less secure fashion than intended by the administrator.https://sepses.org/resource/cwe/CWE-455
454External Initialization of Trusted Variables or Data StoresThe product initializes critical internal variables or data stores using inputs that can be modified by untrusted actors.https://sepses.org/resource/cwe/CWE-454