CWE-158

Overview
  • CWE ID
  • 158
  • CWE Name
  • Improper Neutralization of Null Byte or NUL Character
  • CWE Abstraction
  • Variant
  • CWE structure
  • Simple
  • CWE Status
  • Incomplete
Description
The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes NUL characters or null bytes when they are sent to a downstream component.
Extended Description
As data is parsed, an injected NUL character or null byte may cause the software to believe the input is terminated earlier than it actually is, or otherwise cause the input to be misinterpreted. This could then be used to inject potentially dangerous inp
Related CWEs
CWE ID View ID Nature Ordinal
138 1000 ChildOf Primary