A gunbattle broke out between militants and security forces in Kulgam district of south Kashmir on Sunday.