TORONTO -- The Canadian Imperial Bank of Commerce anticipates it will issue half as many new mortgages in the latter part of the year as it did in the same period of 2017 amid cooling in the real estate market.

The bank has noticed a slowdown in the housing market in the last few months, likely due to changes to mortgage underwriting guidelines, Christina Kramer, CIBC's group head of personal and small business banking for Canada, said Wednesday. Those changes include a new stress test for buyers who don't need mortgage insurance, which has made it harder for some would-be homebuyers to qualify.

"When we take a look at the second half, we continue to see that there will be origination decline, probably in around 50 per cent range relative to the same period last year," Kramer told analysts on a call discussing CIBC's results for its second quarter, ended April 30.

CIBC, the first of Canada's Big Six banks to report second-quarter results, announced a double-digit profit bump Wednesday, handily beating market expectations despite slowing growth in mortgage lending.

Concern has been mounting over the impact of a cooling real estate market on mortgage loans at Canada's biggest banks, as national housing sales activity reach lows not seen in several years.

In April, home sales dropped to a seven-year low for the month that typically kicks off the busy spring real estate season. The Canadian Real Estate Association largely blamed a new stress test for uninsured mortgages that came info effect on Jan. 1. The new stress test requires would-be homebuyers with more than a 20 per cent down payment to prove they can service their mortgage if interest rates rise.

CIBC's said its quarterly profit attributable to common shareholders was $1.29 billion, up from $1.04 billion a year ago on strong results both at home and south of the border after some U.S. acquisitions last year.

On an adjusted basis, it earned $1.32 billion, or $2.95 per diluted share for the quarter, up from $1.06 billion, or $2.64 a year earlier. Analysts had expected a profit of $2.81 per share, according to Thomson Reuters Eikon.

CIBC's spot mortgage balance for the second quarter was $203 billion, up 6.8 per cent from a year ago, but flat compared with the first quarter. By comparison, in the second quarter of 2017, CIBC's spot mortgage balance was up 12.4 per cent from the previous year and up 2.2 per cent from the previous quarter.

In the latest quarter, the bank booked $7 billion in uninsured residential mortgage originations, down from $11 billion a year ago.

"We've actually seen a very soft start with the spring market," Kramer told analysts. "We don't know whether that's a bit of a pause in the market or consumers changing behaviour or waiting to see what happens."

The slowdown in mortgage originations at CIBC was welcomed by analysts, which had been concerned about how quickly the bank's mortgage book was growing compared to its peers.

"CIBC's domestic residential mortgage growth was essentially flat, potentially relieving a relative overhang on the stock as investors have become increasingly concerned with CM's relative exposure," Barclays analyst John Aiken said in a research note.

Real estate secured lending accounted for 49 per cent of total net loans across the Big Six Canadian banks during the fiscal first quarter of 2018, according to a recent CIBC World Markets report. CIBC had the highest exposure among its peers, at 62.8 per cent.

Kramer said CIBC has become less reliant on real estate lending for revenues.

"A year ago, two-thirds of our revenue would be directly related to our mortgage performance and our mortgage business. And today that's about one-quarter."

In other banking operations, CIBC's U.S. commercial banking and wealth management arm saw net income in the second quarter jump by 431 per cent year-over-year to $138 million, helped by its acquisition of Chicago-based PrivateBancorp, which closed in June 2017.

The lender's domestic commercial banking and wealth management arm earned $310 million for the quarter, marking a nine per cent increase from the same period a year ago. However, its capital markets arm saw a seven per cent decrease in net income to $249 million compared with one year ago.

Despite headwinds in the Canadian real estate market, CIBC's chief executive Victor Dodig said the bank expects to continue generating strong earnings growth in excess of its five per cent target going forward, if macroeconomic environment conditions remain benign or relatively positive.

However, Shannon Stemm, an analyst with Edward Jones based in St. Louis., said while it appears CIBC's diversification is paying off, questions remain about how it will compensate for lower mortgage revenues.

"It could be difficult for them to continue to offset such a big chunk of what's been driving growth, over the next couple of years."