It's doable, but very tight.
If the connection is all on one ticket, then LH will rebook you if you miss the connection.
Factors/risks:
- many flights at FRA land at a piece of airport tarmac humorously called a gate. You disembark
and then have to board a bus that takes you to the connections portal. It takes a while to get
off the plane, load the bus, decide to leave, drive slowly, etc.
- you will have to clear customs in FRA. If you don't have an EU passport or EasyPass, and there
is a long line, that's another risk factor. I can't remember for sure, but I think you'll have to go through
security again as well.
- if you have just carryon luggage that is easily luggable, that's a plus. On a short connection, there
is always the chance your checked bags won't make it even if you do.
- Frankfurt Airport is large and there can be a lot of walking, so be prepared for that. If your connecting
flight is A(high number), it seems like miles.
Lastly, if you are delayed for a controllable reason by the airline and miss the connection, you may
be eligible for compensation under EU261 regulation.