Double free vulnerability in Apple iOS before 9.1 and OS X before 10.11.1 allows attackers to write to arbitrary files via a crafted app that accesses AtomicBufferedFile descriptors.
https://support.apple.com/HT205375
https://support.apple.com/HT205370
http://www.securitytracker.com/id/1033929
http://www.securityfocus.com/bid/77263
http://lists.apple.com/archives/security-announce/2015/Oct/msg00005.html
http://lists.apple.com/archives/security-announce/2015/Oct/msg00002.html