Two appliances and crews from West Ashland, one from Waddesdon, along with an officer attended.
The firefighters used hydraulic rescue equipment to release two men, passing them into the care of South Central Ambulance Service.
The incident was left in the hands of Thames Valley Police.