cvekit
LIVE
All CWEs

CWE-1046

Creation of Immutable Text Using String Concatenation

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

Extended description

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.

Common consequences1

  • OtherReduce Performance

    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 problem.

Relationships1

CVEs referencing this CWE1

CVEDescriptionSeverityEPSSFlagsModified
CVE-2026-23955

EVerest is an EV charging software stack. Prior to version 2025.9.0, in several places, integer values are concatenated to literal strings when throwing errors. This results in pointers arithmetic instead of printing the integer value as expected, like most of interpreted languages. This can be used by malicious operator to read unintended memory regions, including the heap and the stack. Version 2025.9.0 fixes the issue.

MEDIUM4.2
0.16%p6
2026-02-06