Assuming we are talking about small tubes (as artfully arranged in the picture from bregez), there are trace amounts of heavy metals that are not good for living things. However, the amounts are so small, the tubes are considered BRC (Below Regulatory Concern - don't know if that term is still used).
Big tubes (CRTs, for example) are supposed to be taken to a HazMat disposal facility.