Gonna say what I said so many times, and even a few times in this comment section.
ALL.software.has.bugs.
The language doesn't matter. AI doesn't matter. Testing doesn't matter. Every single piece of software will be vulnerable to something eventually.
Staying on top of it is the best you can do.