An issue was discovered in certain Apple products. macOS before 10.12.4 is affected. The issue involves the "Printing" component. A format-string vulnerability allows remote attackers to execute arbitrary code via a crafted ipp: or ipps: URL.
https://support.apple.com/HT207615
https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-11586