CWE-1102 - Reliance on Machine-Dependent Data Representation
- Abstraction:Base
- Structure:Simple
- Status:Incomplete
- Release Date:2019-01-03
- Latest Modification Date:2023-06-29
Weakness Name
Reliance on Machine-Dependent Data Representation
Description
The code uses a data representation that relies on low-level data representation or constructs that may vary across different processors, physical machines, OSes, or other physical components.
This issue makes it more difficult to maintain and/or port the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.
Common Consequences
Scope: Other
Impact: Reduce Maintainability
Related Weaknesses
CWE-758Reliance on Undefined, Unspecified, or Implementation-Defined Behavior
CWE-1105Insufficient Encapsulation of Machine-Dependent Functionality