Overflowing Bosch
That happened to me once on my grandma's Siemens: I opened the door mid-cycle when it already heated up to +140°F. The sudden increase in pressure inside the tub caused the water to overflow after the cycle resumed.
I remember our AEG always did a quick drain whenever it was opened after the heater engaged. Our new Siemens either pauses for a few seconds if a cycle has been interrupted or it'll do a quick drain, too. I think if the machine should overfill, some sort of pressure switch should cause the machine to drain - that's what happened on our AEG when I manually tried filling in more water.