In the given figure, ∠ABC = 90∘ and BM is a median, AB = 8 cm and BC = 15 cm. Then, the value of CM is