woodwinds can obtain the 4th harmonic if the player is skilled enough i.e. they can overblow at the octave, the 12th and the double octave, with the exception of the clarinet, which overblows at the 12th and 17th (2 8ves + major3rd) the overblown notes are not necessarily out of tune but can tend to be flat due to poor lip control of the reed (or positioning of the fipple in the case of the flute).
the tendencies of the pipes in brass are to be flat or sharp of equal temperament tuning depending on the harmonic
as you probably know the root of each valve position is usually not playable except by some gifted players who can obtain the pedal tones as they are referred to
most brass plays notes from the 2nd harmonic and up so that first lip position is 2nd harmonic and so forth; the 6th lip position is always flat whilst the 8th lip position is always sharp and so on the higher we go. If we hear notes always flat that is an indication of
1) poor lip strength or
2) poor mouthpiece selection or
3) a combination of both
in addition the combined valves 1 & 2, whilst equal to the 3rd valve on its own, is always out of tune (in fact both are out of tune to different degrees in my experience as no-one really bothers to put their 3rd valve slide into the right position using its out-of-tuneness for accuracy in the higher harmonics)