Exhibit 23.1

 

  Ernst & Young LLP
EY Tower
100 Adelaide Street West, P.O. Box 1
Toronto, ON M5H 0B3
Tel: +1 416 864 1234
Fax: +1 416 864 1174
ey.com

 

Consent of Independent Registered Public Accounting Firm

 

We consent to the reference to our firm under the caption “Experts” in this Pre-Effective Amendment No. 1 to Registration Statement on Form F-3 (No. 333-294072) and the related prospectus of Canadian Imperial Bank of Commerce (“CIBC”) for the registration of its senior debt securities and to the incorporation by reference therein of our reports of independent registered public accounting firm dated December 3, 2025 with respect to the consolidated financial statements of CIBC, which comprise the consolidated balance sheets of CIBC as at October 31, 2025 and October 31, 2024 and the consolidated statements of income, comprehensive income, changes in equity and cash flows for each of the years in the two-year period ended October 31, 2025, and CIBC’s effectiveness of internal control over financial reporting as of October 31, 2025, each of which is included in Exhibit B.3(b) incorporated by reference in CIBC’s 2025 Annual Report on Form 40-F for the fiscal year ended October 31, 2025 filed with the Securities and Exchange Commission.

 

/s/ Ernst & Young LLP

Chartered Professional Accountants

Licensed Public Accountants

 

Toronto, Canada

June 2, 2026