The us food and drug administration said on friday that it has learned that some heartburn medicines -- including zantac -- contain low levels of a nitrosamine impurity known as n. Heartburn drugs cancer ranitidine prilosec. The fda tested ranitidine heartburn medications and found small amounts of a probable carcinogen the agency has not recommended the drugs be recalled