Indian and Pakistani soldiers exchanged gunfire overnight in Kashmir, New Delhi said Thursday, a day after the worst violence between the nuclear-armed rivals in two decades.