Both fruits are safe for dogs to eat. As for cats, blueberries are safe to eat but the flesh of peaches is not tolerated well by the intestines of cats so may cause gastrointestinal symptoms. On the other hand, peach pits may be toxic if ingested because they contain cyanide.