Integer overflow in the AttemptWrite function in Graphics Rendering Engine (GDI) on Microsoft Windows 2000 SP4, XP SP2, and Server 2003 SP1 allows remote attackers to execute arbitrary code via a crafted metafile (image) with a large record length value, which triggers a heap-based buffer overflow.
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A2088
https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-046
http://www.vupen.com/english/advisories/2007/2870
http://www.us-cert.gov/cas/techalerts/TA07-226A.html
http://www.securitytracker.com/id?1018563
http://www.securityfocus.com/bid/25302
http://www.securityfocus.com/archive/1/476505/100/0/threaded