They can't. Wasps chew up materials that humans see as "solid" so there are materials that will not be an impediment to wasps (and rats) that we see as blockade materials. The short answer is (you would not use wood to seal a fireplace!) if the opening is sealed nothing is getting in.
However, the material may have sprung a leak from being chewed through.