The product truncates the display, recording, or processing of security-relevant information in a way that can obscure the source or nature of an attack.
View on MITREThe source of an attack will be difficult or impossible to determine. This can allow attacks to the system to continue without notice.
No mitigation information available for this CWE.
No detection method information available for this CWE.
Bypass URL filter via a long URL with a large number of trailing hex-encoded space characters.
View Detailsapplication server does not log complete URI of a long request (truncation).
View DetailsCWE-222: Truncation of Security-relevant Information is a Common Weakness Enumeration (CWE) entry maintained by MITRE. The product truncates the display, recording, or processing of security-relevant information in a way that can obscure the source or nature of an attack.
If exploited, CWE-222 (Truncation of Security-relevant Information) it can compromise Non-Repudiation, leading to outcomes such as Hide Activities.
CWE-222 commonly affects Not Language-Specific. Note that weaknesses are often language-agnostic patterns, so secure coding practices apply broadly.
MITRE documents real CVEs mapped to CWE-222, including CVE-2005-0585, CVE-2004-2032 and CVE-2003-0412. 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-222 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.