Connecticut's inventory of homes in foreclosure ranked fifth in the country in October for the third month in a row, according to a new report by CoreLogic.

During the month, 3.7 percent of mortgaged homes in the state were in foreclosure, roughly even with September but down from 4.4 percent in October 2012.

Connecticut had the nation’s fourth highest inventory in June, following Maine, but tied with that state in July. In August, Connecticut moved down to fifth place.

In addition to Maine, states with higher foreclosure inventories in October included New York, New Jersey and Florida.