According to the CDC the smallpox vaccine is also not 100% effective. So to go back to your original comment, theoretically someone unvaccinated who caught smallpox could spread it to someone who was....However... smallpox, unlike covid, is more or less eradicated anyway and sure... that vaccine lasts a lot longer than any covid one, so it's not really a huge issue these days.