Consider that while something like Heart Bleed would be an enormous asset to the NSA, if both NSA and a foreign powers found out about it at the same time it'd provide the foreign power with a disproportionate benefit because they'd likely have fewer other ways of infiltrating many sites.
I'm sure that in situations where they're confident they're the only ones with the knowledge, they'll still hold off on releasing anything.