One appliance and crew from High Wycombe and one from Beaconsfield attended.
One woman was released, uninjured, before they arrived.
The firefighters used hydraulic rescue equipment released a second woman, injured, who was passed into the care of South Central Ambulance Service.
Thames Valley Police also attended.