wolfSSL CyaSSL before 2.9.4 does not properly validate X.509 certificates with unknown critical extensions, which allows man-in-the-middle attackers to spoof servers via crafted X.509 certificate.
https://security.gentoo.org/glsa/201612-53
http://www.wolfssl.com/yaSSL/Docs-cyassl-changelog.html
http://www.wolfssl.com/yaSSL/Blog/Entries/2014/4/11_wolfSSL_Security_Advisory__April_9%2C_2014.html
http://www.securityfocus.com/bid/66780
http://secunia.com/advisories/57743