The ServerTrustManager component in the Ignite Realtime Smack XMPP API before 4.0.0-rc1 does not verify basicConstraints and nameConstraints in X.509 certificate chains from SSL servers, which allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate chain.
http://www.securityfocus.com/bid/67119
http://www.kb.cert.org/vuls/id/489228
http://secunia.com/advisories/59291
http://secunia.com/advisories/59290
http://rhn.redhat.com/errata/RHSA-2015-1176.html
http://issues.igniterealtime.org/browse/SMACK-410
http://community.igniterealtime.org/blogs/ignite/2014/04/17/asmack-400-rc1-has-been-released