The primary risk factor for CM is acquired immunodeficiency syndrome, particularly in individuals with a CD4 count below 100 mm3. This evidence concerns the gene CD4 and cutaneous mastocytosis.