Carbon dragged at sub-arc depths and sequestered in the asthenospheric upper mantle during cold subduction is potentially released after millions of years during the breakup of continental plates. However, it is unclear whether these deep-carbon reservoirs can be locally remobilized on shorter-term timescales. Here we reveal the fate of carbon released during cold subduction by analyzing an anomalously deep earthquake in December 2020 in the lithospheric mantle beneath Milan (Italy), above a deep-carbon reservoir previously imaged in the mantle wedge by geophysical methods. We show that the earthquake source moment tensor includes a major explosive component that we ascribe to carbon-rich melt/fluid migration along upper-mantle shear zones and rapid release of about 17,000 tons of carbon dioxide when ascending melts exit the carbonate stability field. Our results underline the importance of carbon-rich melts at active continental margins for emission budgets and suggest their potential episodic contributions to atmospheric carbon dioxide