How is a vulnerability not a bug? Surely you didn’t design the software to enable exploits on your users, right?
Vulnerabilities are a special class of bugs. One that’s generally so important to fix that they get a special name and more attention.
That doesn’t make them less of a bug. It makes them more of one.