CWE-1102 · Słabość
Reliance on Machine-Dependent Data Representation
- Abstrakcja
- Bazowa
- Status
- Niekompletny
- Dodano
- 2 lipca 2018
- Ostatnia zmiana
- 30 kwietnia 2026
Opis
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.
Skutki
Other
Reduce Maintainability
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.
Przykłady podatności
- CVE-2025-47153 Chain: build process for JavaScript runtime environment can have inconsistent sizes for off_t (CWE-1102), allowing out-of-bounds access / segmentation fault (CWE-119)
Słabość nadrzędna
Pokrewna
Kiedy powstaje
- Implementation
- Porting
Dotyczy
Not Language-Specific
Źródła
- Providing a Framework for Effective Software Quality Assessment — Robert A. Martin, Lawrence H. Shafer, 1996
Wpis z katalogu CWE 4.20.