yes that can happen. it is called a perforation. hopefully (if you have an ulcer) you are on some appropriate medications. vomiting yellow liquid is just gastric secretions. it does not mean your "ulcer has burst".
can a stomach ulcer burst. vomit yellow liquid