Integer overflow in the TIFFFetchStripThing function in tif_dirread.c for libtiff 3.6.1 allows remote attackers to execute arbitrary code via a TIFF file with the STRIPOFFSETS flag and a large number of strips, which causes a zero byte buffer to be allocated and leads to a heap-based buffer overflow.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11175
http://www.us-cert.gov/cas/techalerts/TA05-136A.html
http://www.kb.cert.org/vuls/id/539110
http://www.idefense.com/application/poi/display?id=173&type=vulnerabilities&flashstatus=true
http://sunsolve.sun.com/search/document.do?assetkey=1-66-201072-1
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101677-1
http://lists.apple.com/archives/security-announce/2005/May/msg00001.html