For Photoshop CC, you need to have at least Camera Raw 9.7 installed. The latest update is Camera Raw 9.10. For Lightroom, you need at least Lightroom 6.7. If you are using Photoshop CC that would indicate that you have the Creative Cloud plan of some sort. If that is the case why are you still using Lightroom 5.7? You cannot open raw files from your camera with that version of Lightroom.