if it is an OFFICIAL OS from your CARRIER it will not void the warranty. leaked and other carriers will void it
Using a leaked or another carrier's OS won't void your warranty.
Even if you brick the device, which is increasingly difficult to do, there's guides on CrackBerry to fix it.