An issue was discovered in certain Apple products. macOS before 10.12.4 is affected. The issue involves the "SecurityFoundation" component. A double free vulnerability allows remote attackers to execute arbitrary code via a crafted certificate.
https://support.apple.com/HT207615
https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-11608