That might not be that bad. Granted the picture doesn’t show a lot, but you may actually have caught it still early.
Time to rip the rest of the dry wall off to the right to see how extensive it it. However from the photo, the middle 2×4 doesn’t appear to have them in it, or doesn’t have them extensively.
The one on the right, looks like a piece of wafer cookie with the frosting sucked out, but wall stud next to it doesn’t look heavily infested. So you may just have the single window framing board hosting.
How’s the top piece that frames the window. It looks covered by the flashing, or is it completely gone?