The invention relates to a pharmaceutical vaginal composition for treating orpreventing vaginal infections. The composition includes a synergistic mix of abioadhesive, extended release formulation that decreases the pH and thatcontains a peroxide in an amount sufficient to increase oxygen concentrationwithout sterilizing the vagina or substantially killing the normally-desiredlocal vaginal flora. The invention also relates to a method of treating orpreventing vaginal infections in a patient comprising inserting vaginally anamount of the pharmaceutical vaginal composition in an amount sufficient todecrease the pH and increase oxygene concentration without sterilizing thevagina or substantially killing the normally-desired local vaginal flora.