Porphyria is a group of diseases in which substances called porphyrins build up, affecting the skin or nervous system. The types that affect the nervous system are also known as acute porphyria.