I don't think that exploiting glitches is illegal. They are coding issues, and not something that you purposely insert or alter in the code for profit (or out of malice). Many companies keep on releasing update patches to fix these glitches and some even chose to keep these for some reason or out of laziness, but serious glitches are often fixed.
