&quot;Undefined behaviour&quot; is a specific term of art in the context of C&#x2F;C++ and is an euphemism for your whole program state potentially becoming corrupted. With crafted inputs your program can start executing attacker-supplied arbitrary code.