Integer overflow in the CFDataReplaceBytes function in the CFData API in CoreFoundation in Apple Mac OS X before 10.5.3 allows context-dependent attackers to execute arbitrary code or cause a denial of service (crash) via an invalid length argument, which triggers a heap-based buffer overflow.
https://exchange.xforce.ibmcloud.com/vulnerabilities/42709
http://www.vupen.com/english/advisories/2008/1697
http://www.us-cert.gov/cas/techalerts/TA08-150A.html
http://www.securityfocus.com/bid/29491
http://www.securityfocus.com/bid/29412
http://securitytracker.com/id?1020135
http://secunia.com/advisories/30430
http://lists.apple.com/archives/security-announce/2008//May/msg00001.html