Although advances in surgical techniques and technology have reduced the risks, heart surgery still carries some potential risks, including bleeding, infection, blood clots, stroke, heart attack, irregular heart rhythm, and complications related to anesthesia. The risk varies depending on the type of surgery and the patient’s overall health.