Am I stuck paying estimated tax penalty and interest if I take a capital gain on a stock sale late in the year but not pre-paying for that in the first 3 quarters?

Seems like the penalty is unavoidable in this instance. Is there a way to pay 100% of tax due on each quarter's income, have a lump in December, and still avoid the penalty?