CWE-198 — Use of Incorrect Byte Ordering
CWE-198: Use of Incorrect Byte Ordering
MITRE CWE weakness
| Kind | Weakness |
| Abstraction | Variant |
| Status | Draft |
| Likelihood of exploit | — |
Description
The product receives input from an upstream component, but it does not account for byte ordering (e.g. big-endian and little-endian) when processing the input, causing an incorrect number or value to be used.
Common consequences
- Integrity: Unexpected State
Mitigations
(none listed)
References
- CWE page: https://cwe.mitre.org/data/definitions/198.html
- CWE list: https://cwe.mitre.org/data/index.html