VirtualBox-5.1.31-119103-Linux_amd64.run
and
VirtualBox-5.2.1-119176-Linux_amd64.run
I have not been able to get the clipboard function working.
You not only have the matching additions, you have the Ubuntu guest additions installed. You have to remove the Ubuntu additions from the guest. Then install the Guest Additions that come with your installation by using the menu "Devices" » "Insert Guest Additions CD Image..." and run the installer in Ubuntu. For more information, see ch. 4.2 of the user manual.VirtualBox VM 5.2.0 r118431 win.amd64 (Oct 18 2017 06:24:56) release log 00:00:25.243085 VMMDev: Guest Additions information report: Version 5.0.18 r106667 '5.0.18_Ubuntu'