This kinda begs the question. When you have an engine that is over TBO, is it worth buying the plane, or should you just move on?
If the price is adjusted for the run-out engine, I would not shy from it. The engine in my plane is now 2390 SMOH. At the annual next month, I'll see how everything checked out. If compressions are still acceptable (mid-60s to low-70s), I'll fly it for another year. I have money set aside for an overhaul, but I will wait until it's necessary. Just because the engine reaches TBO, it doesn't mean it'll suddenly drop dead. There are usually warning signs before that. I fly daytime VFR only. Around here, there are lots of fields for me to set it down if the engine fails.