The treaty says that only five countries are allowed to have nuclear weapons . These are called nuclear weapons states . Four non-parties to the treaty are known or believed to possess nuclear weapons : India , Pakistan and North Korea have openly tested and declared that they possess nuclear weapons , while Israel has had a policy of opacity regarding its own nuclear weapons program .