One problem related to software has been reported for the 2006 BMW 5 Series. The most recently reported issues are listed below.
The contact owns a 2006 BMW 525i. While driving between 25-30 and 60-65 mph, the vehicle stalls. The entire I-drive (computer system) freezes and the vehicle has to be pulled over and restarted. Currently, the stalling occurs weekly, whereas initially, it occurred every few months. The dealer keeps the vehicle for at least three days each time the failure occurs. The vehicle has been to the dealer five times and they have installed new software. However, after a month, the failure recurs. The purchase date was unknown. The current and failure mileages were 51,574.