An earthquake with a magnitude of 5.3 jolted the Afghanistan-Tajikistan border region on Wednesday, the GFZ German Research Center for Geosciences said.