One appliance and crew from Amersham, one from High Wycombe and one from Beaconsfield attended, along with an officer.
Two men and three women were released, uninjured, before they arrived.
The firefighters made the scene safe. They closed the hard shoulder and lane one of the motorway while they worked at the scene.
The incident was left in the hands of Thames Valley Police.