One appliance and crew from Langley and one from Gerrards Cross, along with an officer attended.
The firefighters used hydraulic rescue equipment, before passing two women into the care of South Central Ambulance Service.
A full road closure was put in place, Thames Valley Police also attended.