Weevil generally enters food sources through cracks and corners. Therefore they won’t be able to enter sealed packages from the outside.  However, there is a chance that weevils were already present when the food item was initially added to these packages before being packed away. They might have laid eggs on the rice grains, and when the eggs hatched, they started feeding on the packaged rice directly.