Two appliances and crews from Aylesbury attended, along with an officer.
The firefighters rescued a boy, who had become locked in the property. He was handed into the care of South Central Ambulance Service and treated for mild smoke inhalation.
The firefighters used breaking-in equipment and an immediate emergency care pack. They isolated the gas supply. There was light smoke logging to the property, but no fire damage.