I have read everything about the leaks and they yet haven’t mentioned any holes in avast as such.

And if you dig a bit you will find lot av vendors saying the holes were minor and some were years old.

Anyway Vlk (CTO) has explained it:
https://www.google.co.in/amp/sanfrancisco.cbslocal.com/2017/03/08/wikileaks-cia-documents-antivirus-software-reviews/amp/