There’s some dispute about that.
From Amendment 12:
But no person constitutionally ineligible to the office of President shall be eligible to that of Vice-President of the United States.
From Amendment 22:
1. No person shall be elected to the office of the President more than twice, and no person who has held the office of President, or acted as President, for more than two years of a term to which some other person was elected President shall be elected to the office of the President more than once.
Ooh...here’s a good argument...”eligible” and “elect” share the same root linguistically. So someone ineligible to the office of the President (”cannot be elected”) is also ineligible to the office of Vice President.