Expected
This is what software development on a budget looks like. If you are a competent programmer, you know that all external data must be rigorously validated. Even internal data - arguments to methods, etc must be validated as well.
Proper validation is the first thing which gets left out when management constrains the time and money devoted to software creation to maximise profits. What we get is software with enough holes in it that it can do a good impression of a colander.