Understanding the dynamics of coronal mass ejections (CMEs) in the heliosphere is a key aspect of space weather research. CMEs are huge clouds of energetic and magnetized plasma (Hundhausen et al., 1994) erupting from the solar corona that may reach speeds of up to 3,000 km s −1. When they hit Earth, CMEs can produce strong geomagnetic storms (