Note that this can only be exploited if the program is already using a nontransitive comparision function, which is an egregious bug, and the program is setuid root.
The odds of a setuid root program having this particular, exotic flaw are miniscule. None have been found in the wild.