In questions about things not to do in C++ such as dereferencing a dangling pointer or calling delete twice for the same address I often see the statement that it's undefined behaviour and anything can happen - the program can overwrite the system disk or offend my parents.
What is the worst real example of undefined behaviour consequences beyond crashing the program? I don't mean cases when first data in memory is corrupted and then this data is fed somewhere and that somewhere behaves wrong, I mean cases when undefined behaviour on its own directly causes bad consequences.