Bacterial vaginosis affects nearly a third of women worldwide and can cause infertility, premature births and newborn deaths.