Yonhap reports on the matter
At this point, it is pretty much believe what you will. Kim mysteriously disappeared for three weeks – with reports surfacing initially that he had a botched heart surgery – before reappearing on Saturday as local media released some images of him:

Perhaps he just had the case of COVID-19. Who knows really?