Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in the Registration Statement (Form S-8 No. 333-218913) pertaining to the CIBC Retirement Savings Plan for U.S. Employees of our report dated June 27, 2022, with respect to the financial statements and schedules of the CIBC Retirement Savings Plan for U.S. Employees included in this Annual Report (Form 11-K) for the year ended December 31, 2021.
/s/ Ernst & Young LLP
New York, New York
June 27, 2022