A new software release addresses dozens of security weaknesses affecting smartphones worldwide.