INDIAN WELLS, Calif. — Elena Vesnina recovered after blowing three match points to beat Venus Williams 6-2, 4-6, 6-3 and reach the semifinals of the BNP Paribas Open on Thursday night.

Vesnina staved off six break points in the last game, falling behind 40-love to start, before closing out the 71-minute match with two forehand winners. Williams overcame three match points on her serve on three straight errors by Vesnina in the eighth game that featured six deuces and lasted for 9 1/2 minutes.

"I was really fighting like it's the last game of my life," Vesnina said. "I start serving with a little bit less power and a bit more pace. Couple of kind of big points she gave me unforced error, and I stick to this game. I was like, 'I'm never going to lose this game.'"

Vesnina had 38 unforced errors and eight double faults; Williams had 47 unforced errors and seven double faults.

The 14th-seeded Russian takes on No. 28 seed Kristina Mladenovic in the semifinals. Mladenovic beat Caroline Wozniacki 3-6, 7-6 (4), 6-2 to break into the top 20 in the WTA Tour rankings for the first time in her career.

No. 3 Karolina Pliskova and No. 8 Svetlana Kuznetsova are set for the other semifinal.

Vesnina defeated No. 2 Angelique Kerber 6-3, 6-3 in the quarterfinals and is already assured of her best result in nine appearances at the desert tournament.

"I guess I'm on fire," Vesnina said.

Williams needed three sets to win two of her first three matches at Indian Wells, where she was playing for the second time after a 15-year boycott because of a hostile crowd reaction she received in 2001 after withdrawing with an injury from a semifinal against younger sister Serena.

Serena withdrew before the tournament began with what she said was a knee injury.

Venus alluded to not being totally healthy, but declined to be specific. She has Sjogren's syndrome, an autoimmune disorder.

"Days like today are frustrating when I want to do more and can't do more or didn't do more," said Williams, who played with a wrap on her leg but removed the wrap on her arm that she wore in earlier matches. "I had some issues. It's great to know that I can try to play through what I'm going through and be very competitive."

Williams started slowly against Vesnina, repeatedly struggling with her service toss while piling up errors.

"When I was up 3-0 in the first set, she was missing some easy shots. She looked tired and slow on the court," Vesnina said. "Then, all of a sudden, she started moving around, hitting great shots, winners from all over the place."

Neither Mladenovic nor Wozniacki had dropped a set before their quarterfinal. Wozniacki rallied from a 4-2 deficit in the second set to force the tiebreaker, but the former world No. 1 and 2011 Indian Wells winner never led in the tiebreaker.

Wozniacki held for a 2-1 lead in the third set and then had her right foot heavily taped by a trainer. She went on to lose the final five games and the match, making the 28th-seeded Mladenovic the lowest seed to reach the semis.

"I didn't break her when I had the opportunity," Wozniacki said. "I didn't hold when I had the opportunity and all of sudden those games kind of slipped away."

There were 11 service breaks in the 2 1/2-hour match played in 91 degree (32 C) heat.

Besides moving up in the world rankings, Mladenovic becomes the new No. 1 in France, overtaking countrywoman Caroline Garcia by virtue of her results in the desert.

"I see that it's paying off, that the results are coming," Mladenovic said. "The ranking is just the consequence of all the work you put on a daily basis."

In a match involving the two lowest remaining men's seeds, No. 21 Pablo Carreno Busta of Spain edged 27th-seeded Pablo Cuevas of Uruguay, 6-1, 3-6 7-6 (4).

Carreno Busta saved two match points in the third, including when Cuevas fell on a backhand leading 5-4, 4-30.

Cuevas tied it 3-all in the tiebreak before Carreno Busta won the final five points to close out the two-hour match.

"With Pablo I need to be very focused on my game, very aggressive, because his second serve or his kick, the ball bounce a lot," Carreno Busta said of his sometime doubles partner. "So I need to be aggressive and I need to dominate the points because he's really dangerous with his forehand."

It was the biggest singles quarterfinal of their respective careers. Carreno Busta had not reached that stage of a Masters 1000 event in 17 previous tries; Cuevas hadn't been there in 29 tries.

Carreno Busta avenged his loss to Cuevas in the Sao Paulo semifinals on March 6 and in the process snapped Cuevas' seven-match winning streak.

Carreno Busta will play No. 3 Stan Wawrinka, who saved eight of 11 break points to beat No. 8 Dominic Thiem 6-4, 4-6, 7-6 (2).