The product does not handle or incorrectly handles input that is not syntactically well-formed with respect to the associated specification.
View on MITREIf an input is syntactically invalid, then processing the input could place the system in an unexpected state that could lead to a crash, consume available system resources or other unintended behaviors.
No mitigation information available for this CWE.
No detection method information available for this CWE.
This Android application has registered to handle a URL when sent an intent:
The application assumes the URL will always be included in the intent. When the URL is not present, the call to getStringExtra() will return null, thus causing a null pointer exception when length() is called.
No relationship information available for this CWE.
CWE-228: Improper Handling of Syntactically Invalid Structure is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product does not handle or incorrectly handles input that is not syntactically well-formed with respect to the associated specification.
If exploited, CWE-228 (Improper Handling of Syntactically Invalid Structure) it can compromise Integrity and Availability, leading to outcomes such as Unexpected State, DoS: Crash, Exit, or Restart and DoS: Resource Consumption (CPU).
MITRE documents real CVEs mapped to CWE-228, including CVE-2004-0270. You can look up the full details of each CVE, including CVSS scores and remediation guidance, on our CVE Lookup tool.
A CWE (Common Weakness Enumeration) like CWE-228 describes a category of software weakness — the underlying flaw type. A CVE (Common Vulnerabilities and Exposures) identifies a specific, real-world vulnerability in a particular product. In short, a CWE is the kind of mistake, and a CVE is an instance of that mistake being found in software.