Hello, it is possible that engine vacuum is tweaked just slightly when depressing the brake pedal. The power brake system utilizes a vacuum powered brake booster to supply assist to braking. This may or may not be indicating a problem with the vehicle. If the fluctuation is major, have it checked. If it's merely a minor movement and does not affect driving, then it should be OK.
RepairPal Certified shops can diagnose and repair your 2007 BMW 525i. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.