There are a lot of variables with the speed of sound, a sonic boom is created when all of those variables meet.
the speed of sound, a critical speed known as Mach 1, and is approximately 1,225 km/h (761 mph) at sea level and 20 °C (68 °F).
During reentry the Space Shuttle is moving at several times the speed of sound
The orbiter's maximum glide ratio/lift-to-drag ratio varies considerably with speed, ranging from 1:1 at hypersonic speeds, 2:1 at supersonic speeds and reaching 4.5:1 at subsonic speeds during approach and landing
There is no sound in space, so presumably there has to be a point when speed and air density combine to create a sonic boom. When does an aerobraking space craft create a sonic boom?