How many variants of the PrintNightmare existed?

There are two variants of the PrintNightmare, one permitting remote code execution and the other one leading to privilege escalation.