If you eat too much, your character will throw up, losing the bonus, but not gaining the sugar crash. The graphic for throwing up for eating too much candy corn while on the ground is not present while underwater.

In addition to exchanging Candy Corn at vendors or using it in recipes, it can be traded to the children of Lion's Arch in exchange for Child's Trick-or-Treat Bags