The 28-year-old, who helped the club clinch promotion to the Premier League last season, has signed an extension that will keep him at the club until the summer of 2018
Cardiff City goalkeeper David Marshall has committed his future to the club by signing a new deal until the summer of 2018.
The 28-year-old moved to the Welsh capital from Norwich City in 2009 and helped the club clinch promotion to the Premier League by winning the Championship title last season.
"I'm delighted to have committed my future to Cardiff City," said the Scotland international.
"I've had a fantastic four and half years here already.
"It's a privilege to be part of what we're trying to achieve and the fans have been brilliant to me from day one.
"We've a lot of hard work left to do this season, but we're a confident group and have plenty of ability and belief."