The SecKeyDeriveFromPassword function in Apple OS X before 10.12 does not use the CF_RETURNS_RETAINED keyword, which allows attackers to obtain sensitive information from process memory by triggering key derivation.
https://support.apple.com/HT207170
http://www.securitytracker.com/id/1036858
http://www.securityfocus.com/bid/93055
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html