Base · Medium

CWE-1102: Reliance on Machine-Dependent Data Representation

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 component...

CWE-1102 · Base Level ·1 CVEs

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.

Potential Impact

Other

Reduce Maintainability

Real-World CVE Examples

CVE IDDescription
CVE-2025-47153Chain: build process for JavaScript runtime environment can have inconsistent sizes for off_t (CWE-1102), allowing out-of-bounds access / segmentation fault (CWE-119)

Frequently Asked Questions

What is CWE-1102?

CWE-1102 (Reliance on Machine-Dependent Data Representation) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. 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 component...

How can CWE-1102 be exploited?

Attackers can exploit CWE-1102 (Reliance on Machine-Dependent Data Representation) to reduce maintainability. This weakness is typically introduced during the Implementation, Porting phase of software development.

How do I prevent CWE-1102?

Follow secure coding practices, conduct code reviews, and use automated security testing tools (SAST/DAST) to detect this weakness early in the development lifecycle.

What is the severity of CWE-1102?

CWE-1102 is classified as a Base-level weakness (Medium abstraction). It has been observed in 1 real-world CVEs.