I believe the time limit to file an amended return for a refund is three years. What is the time limit to file an amended return if I will owe additional taxes?

I just found a problem with my IRA basis that will affect the nontaxed portion of my RMD.  However, the first year this will change is 2018 and it is more than 3 years ago.  This error carries forward to each subsequent return.  Can I just make the corrections on an amended 2019 return?