Good start to notice what you're doing - I know none of the following is easy but try to
first of all keep a record of what you eat and anything you're feeling before or after you eat or anything that might have triggered it (this equips you to notice why its happening and start to predict when it might happen.
if there's any 'rituals' around the eating (e.g. you always wait til you're alone, you're always in a certain room, you always put the tv on etc etc) then try to 'set the environment different' (e.g. tell yourself you will only eat sitting at the table, put some upbeat music on - anything really to interrupt the ritual which otherwise allows you to 'tune out' of what you're doing and stops you being able to control it.
Make sure you eat regular normal meals, and enough for your requirements - diff. I know if dieting,but even though the kind of eating you describe sounds like its triggered by stress, dieting or restricting your eating is another trigger for over-eating.
Try to have a plan of other nurturing things to do when you feel this way - because eating is really nurturing, but obviously not helpful over the longer term if its in excess - have a bath, keep magazines you like to read around for these times, phone a friend (also a great way to interrupt the urge.)
Practice 'surfing the urge' - that is, the urge will get stronger and stronger and you'll feel like you have to give in to it, but in fact it will 'peak' and then recede if you practice waiting it out - after all, if you always give in before the 'peak' you'll never know if the urge would go or not iyswim. At the beginning you could try saying to yourself 'i'll have it in 5 mins if i still feel this way' and then try to lengthen the intervals and see what happens - this also allows you to tune into what you're doing, and means you're making a conscious choice to eat it, not just doing it almost in a trance.
hope some of this makes sense, and i know its not easy - the good news is that these techniques seem to work for the majority of people who give them a go - what you're describing is def not unusual, and doesn't sound severe, but I'd nip it in the bud if poss in case it becomes a way of coping with stress and anxiety, because in the longer term it can really affect self-esteem etc and gets to be a bit of a trap. hth x