You generally need to inject some malicious input to exercise bugs.
Let's say your pw manager was built on ruby and you wake up one day and String#upcase is a potential vector for executing code[1].
That's pretty bad - but how do you get your user to enter a username or password into the local app, in order to execute code?
In other applications, the hole might be in font rendering - and the input might be a pdf - getting the user to submit bad input might be as easy as emailing a document in a spear phishing attempt.
I suppose a password vault might associate a ".pwvault" file-type - but in general even a land mine like [1] can be quite safe in a small, local utility.