A shrewd discoverer of such a bug might not take full advantage right away, choosing to milk this idea over the long term rather than attempt to exploit it all at once, in the same way the allies kept it concealed that they had cracked the code of the Enigma machine. This of course depends on the nature of the (hypothetical) bug.