CWE
Home > CWE List > CWE- Individual Dictionary Definition (1.6)  

CWE-198: Use of Incorrect Byte Ordering

 
Use of Incorrect Byte Ordering
Weakness ID: 198 (Weakness Base)Status: Draft
+ Description

Description Summary

The software 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.
+ Time of Introduction
  • Architecture and Design
  • Implementation
+ Applicable Platforms

Languages

All

+ Detection Factors
Black Box:

Because byte ordering bugs are usually very noticeable even with normal inputs, this bug is more likely to occur in rarely triggered error conditions, making them difficult to detect using black box methods.

+ Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness BaseWeakness Base188Reliance on Data/Memory Layout
Research Concepts (primary)1000
ChildOfCategoryCategory189Numeric Errors
Development Concepts (primary)699
+ Research Gaps

Under-reported.

+ Taxonomy Mappings
Mapped Taxonomy NameNode IDFitMapped Node Name
PLOVERNumeric Byte Ordering Error
+ Content History
Submissions
Submission DateSubmitterOrganizationSource
PLOVERExternally Mined
Modifications
Modification DateModifierOrganizationSource
2008-07-01Eric DalciCigitalExternal
updated Time of Introduction
2008-09-08CWE Content TeamMITREInternal
updated Detection Factors, Relationships, Research Gaps, Taxonomy Mappings
2009-05-27CWE Content TeamMITREInternal
updated Description
Page Last Updated: October 29, 2009