Two appliances and crews from High Wycombe attended, along with two officers.
The firefighters used hydraulic rescue equipment to release one woman and one man, injured. They provided immediate emergency care before handing the man and woman into the care of South Central Ambulance Service.
Three further men were released, injured, before they arrived.
The incident was left in the hands of Thames Valley Police.