Find a PubKeyB such that for an existing PubKey A they both produce the same PubKeyHash.
This implies a break in EC crypto as well, since by definition there is no efficient way to generate the private key from the public key the only way of doing this is by trial and error.