Had a scheduled 55 minute connection in YUL recently and made it.
I was seated at the back of the inbound aircraft. The first 10 minutes were waiting to get off the plane.
10 minute walk to security. No lineup.
Short walk to US customs. About 5 minutes to get throug the line.
5 minute walk to the gate. Boarding had already started.
Again watch for the connections signs.