Instead of using the Virtualbox Guest Addition ISO file, try using the following commands in the terminal on the guest Ubuntu Virtual Machine :

Update apt-get. apt-get update

Install dependencies apt-get install build-essential linux-headers-$(uname -r)

Install guest additions apt-get install virtualbox-guest-x11

Use sudo before the commands if required.