You still have enough time to train safely (and finish the marathon safely) if your goal is just to finish and not worry about time. I suggest throwing in numerous walk breaks. However, if you're trying to finish in a certain time, then you are at risk of an injury either before or during the marathon.