Not exactly weevils you’re talking about. But I had infestation by pantry moths, they even tried to enter the glass bottle with aluminium caps, at least I saw cocoons around the caps. They bite through plastic bags. It was a nightmare, they loved rice, nuts, dried dated…they never touched pasta, which was in the same place.
I believe some cereals, they have treated with something and they are not infected. So it’s either bugs or chemical, you choose.