The result of pathological changes in the hard tissue of a tooth caused by carious lesions, mechanical factors, or trauma, which render the pulp susceptible to bacterial invasion from the external environment. The disease is dental pulp exposure (Experimental Factor Ontology term EFO_1001782). Also known as: pulp exposure.