Depends on the terms and agreements. For example, the recent exploits for iOS that allowed the 11.1.2 and 11.3.1 jailbreaks were both submitted to Apple but the jailbreaks were still developed around the exploits after they got into the public domain.