As major averages continue to scale new highs, one Wall Street firm believes the stock market rally is getting overdone.

Bank of America Merrill Lynch strategists are warning of "an elevated risk of correction," which implies that the market could be in for a decline of 10 percent or more. The warning, in a report for clients Tuesday, comes as stocks were again in rally mode, pushing the to a record and putting other indexes a whisker away from establishing fresh peaks.