Hereditary angioedema ( HAE ) is a rare disease caused by C1-esterase inhibitor ( C1-INH ) deficiency , characterized by periodic attacks of acute edema affecting subcutaneous ( SC ) tissues and mucous membranes .