When you only meant to have a small snack and end up eating a whole meal/the whole bag or box of something.
I decided to munch on some cheese and crackers while I made dinner but I had a snaccident and ate the whole block of cheese.