Identify the location where the range hood's vent reaches the outdoors. This most likely is behind the hood itself, but may be in a cabinet above the range or in the attic.
Disconnect the electrical supply and unscrew the hood from its mounting if the vent is accessible behind the hood. Several screws may be holding the unit in place at the rear, sides or top. Alternatively, work in a location where you can reach the pipe; for example, position yourself near the pipe where it exits the roof.
Spray foaming insulation around the vent pipe where it exits the wall or roof. Direct the foam in a circular pattern around the pipe and go around the object several times to build it up. Foaming insulation fills all small gaps; it is not necessary to remove previous insulators.
Reinstall the range hood, if it was removed. Reconnect the electrical supply.