An earthquake of magnitude 4.3 jolted Afghanistan late in the night, as per the National Center for Seismology (NCS).