1. CVE archive
  2. Vulnerability types
  3. CWE-1046
CWE-1046 · #608 most frequent type in the archive

Creation of Immutable Text Using String Concatenation

The product creates an immutable text string using string concatenation operations.

Part of: CWE-1176 · Inefficient CPU Computation

2CVEs of this type in the archive
0critical (CVSS ≥ 9)
1high severity (7–8.9)
May 7, 2026latest published

What it is

The product creates an immutable text string using string concatenation operations.

Impact on systems

ScopeImpact
Other Reduce Performance
When building a string via a looping feature (e.g., a FOR or WHILE loop), the use of += to append to the existing string will result in the creation of a new object with each iteration, which can be inefficient in comparison with use of text buffer data elements. This issue can make the product perform more slowly. If the relevant code is reachable by an attacker, then this could be influenced to create performance problems.

Source: MITRE CWE catalog · Official entry on the MITRE website

All CWE-1046 CVEs

2 results

Dottor Marc

Is this type of vulnerability in your systems?

An archive tells you what exists; a Vulnerability Assessment tells you what is exposed on your side. Dottor Marc tests your web applications and network with automated and manual checks.