Toenail two or three times with your usual framing nails wherever you have access (inside or out).
This situation is common, and that's all it takes. There's never a lot of force pulling those studs apart (except maybe warpage). When you position the studs with respect to each other, leave the leading stud about 1/8" proud. As you drive a toenail home it'll shift to flush. (Use the top portion of the hammer head's face to punch the angled nail flush or slightly below. Nails not fully set don't hold as well and can cause problems with your sheathing.)
Be precise about this. It's one of the most common causes of drywall bulges and screw pops. If the studs don't come out flush, whack them into position. You can use a toenail in either direction to help shift the studs.
FYI, the inner stud in the wall at the top of your diagram should've been installed perpendicular to the end stud and tight to the other wall so it acts as backing for wall sheathing at the inside corner. That would've also eliminated this problem.