In the mixed dark matter scenarios consisting of primordial black holes (PBHs) and weakly interacting massive particles (WIMPs), WIMPs can be accreted onto PBHs to form ultracompact minihalos (UCMHs) with a density spike in the early universe. Compared with the classical dark matter halo, UCMHs are formed earlier and have a higher density of center. Since the annihilation rate is proportional to the squared number density of WIMPs, it is expected that WIMPs annihilation within UCMHs is enhanced and has influences on the early universe. Between the time of recombination and matter-radiation equality, the energy released from WIMPs annihilation within UCMHs is injected into the Universe resulting in cosmic microwave background $y$-type distortion. We investigate these effects and derive the upper limits on the abundance of PBHs taking advantage of the observational results of a far infrared absolute spectrophotometer (FIRAS). We find that for the WIMPs mass range $1\ensuremath{\le}{m}_{\ensuremath{\chi}}\ensuremath{\le}1000\text{ }\text{ }\mathrm{GeV}$, the upper limits on the abundance of PBHs are $5\ifmmode\times\else\texttimes\fi{}{10}^{\ensuremath{-}3}\ensuremath{\le}{\mathrm{\ensuremath{\Omega}}}_{\mathrm{PBH}}\ensuremath{\le}5\ifmmode\times\else\texttimes\fi{}{10}^{\ensuremath{-}2}$.