{"id":"CVE-2007-0038","published":"2007-03-30T20:00:00Z","modified":"2024-08-07T12:03:36Z","title":"Stack-based buffer overflow in the animated cursor code in Microsoft Windows 2000 SP4 through Vista allows remote…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"Stack-based buffer overflow in the animated cursor code in Microsoft Windows 2000 SP4 through Vista allows remote attackers to execute arbitrary code or cause a denial of service (persistent reboot) via a large length value in the second (or later) anih block of a RIFF .ANI, cur, or .ico file, which results in memory corruption when processing cursors, animated cursors, and icons, a variant of CVE-2005-0416, as originally demonstrated using Internet Explorer 6 and 7. NOTE: this might be a duplicate of CVE-2007-1765; if so, then CVE-2007-0038 should be preferred.","provenance":"source","from":"CVE.org"},"summary":{"text":"A stack-based buffer overflow in the animated cursor handling code of Microsoft Windows, affecting versions from Windows 2000 SP4 through Vista, is triggered when processing cursors, animated cursors, and icons. An attacker can exploit it by supplying a crafted RIFF .ANI, .cur, or .ico file containing an oversized length value in the second or later anih block, which can lead to arbitrary code execution or a persistent-reboot denial of service, as originally demonstrated through Internet Explorer 6 and 7.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:46Z"},"cvss":null,"epss":{"score":0.73147,"percentile":0.99455,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2007-04-03","exploitedFirstSeen":"2007-04-03","ransomware":false,"evidence":[{"url":"https://learn.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-017","date":"2007-04-03"},{"url":"https://www.virusbulletin.com/virusbulletin/2010/05/exploit-kit-explosion-part-two-vectors-attack/","date":"2010-05-01"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":2,"pulses":[{"name":"CVE Data","url":"https://otx.alienvault.com/pulse/69929b597293fe5837b9c95c","created":"2026-02-16"},{"name":"CVE -CVE Reference Map for Source MS - Curios RE active candidates CVE version 20061101","url":"https://otx.alienvault.com/pulse/679c3446de4f362fac9217f9","created":"2025-01-31"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.us-cert.gov/cas/techalerts/TA07-093A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://www.vupen.com/english/advisories/2007/1215","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://securityreason.com/securityalert/2542","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2007-03/0470.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1854","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.securityfocus.com/archive/1/464342/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.kb.cert.org/vuls/id/191609","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/archive/1/466186/100/200/threaded","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://secunia.com/advisories/24659","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-089A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/33301","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://www.securityfocus.com/archive/1/464460/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.determina.com/security_center/security_advisories/securityadvisory_0day_032907.asp","tags":["x_refsource_MISC"]},{"url":"https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-017","tags":["vendor-advisory","x_refsource_MS"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-100A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://www.osvdb.org/33629","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://www.securityfocus.com/archive/1/464459/100/100/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/archive/1/464269/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/archive/1/464340/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.securityfocus.com/archive/1/464339/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2007-0042","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2007-0042","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":3617,"url":"https://www.exploit-db.com/exploits/3617","title":"Microsoft Windows - Animated Cursor '.ani' Local Stack Overflow","type":"local","platform":"windows","date":"2007-03-31","verified":true,"provenance":"source"},{"id":3634,"url":"https://www.exploit-db.com/exploits/3634","title":"Microsoft Windows XP/Vista - Animated Cursor '.ani' Remote Overflow","type":"remote","platform":"windows","date":"2007-04-01","verified":true,"provenance":"source"},{"id":3635,"url":"https://www.exploit-db.com/exploits/3635","title":"Microsoft Windows XP - Animated Cursor '.ani' Remote Overflow (2)","type":"remote","platform":"windows","date":"2007-04-01","verified":true,"provenance":"source"},{"id":3636,"url":"https://www.exploit-db.com/exploits/3636","title":"Microsoft Windows - Animated Cursor '.ani' Remote (eeye patch Bypass)","type":"remote","platform":"windows","date":"2007-04-01","verified":true,"provenance":"source"},{"id":3647,"url":"https://www.exploit-db.com/exploits/3647","title":"Microsoft Windows - Animated Cursor '.ani' Local Buffer Overflow","type":"local","platform":"windows","date":"2007-04-02","verified":true,"provenance":"source"},{"id":3651,"url":"https://www.exploit-db.com/exploits/3651","title":"Microsoft Windows - Animated Cursor '.ani' Universal Generator","type":"remote","platform":"windows","date":"2007-04-03","verified":true,"provenance":"source"},{"id":3652,"url":"https://www.exploit-db.com/exploits/3652","title":"Microsoft Windows - Animated Cursor '.ani' Local Overflow (Hardware DEP)","type":"local","platform":"windows","date":"2007-04-03","verified":true,"provenance":"source"},{"id":3684,"url":"https://www.exploit-db.com/exploits/3684","title":"Microsoft Windows Explorer - '.ANI' File Denial of Service","type":"dos","platform":"windows","date":"2007-04-08","verified":true,"provenance":"source"},{"id":3688,"url":"https://www.exploit-db.com/exploits/3688","title":"Microsoft Windows - GDI Privilege Escalation (MS07-017) (1)","type":"local","platform":"windows","date":"2007-04-08","verified":true,"provenance":"source"},{"id":3695,"url":"https://www.exploit-db.com/exploits/3695","title":"Microsoft Windows - Animated Cursor '.ani' Local Overflow","type":"local","platform":"windows","date":"2007-04-09","verified":true,"provenance":"source"},{"id":3755,"url":"https://www.exploit-db.com/exploits/3755","title":"Microsoft Windows - GDI Privilege Escalation (MS07-017) (2)","type":"local","platform":"windows","date":"2007-04-17","verified":true,"provenance":"source"},{"id":3804,"url":"https://www.exploit-db.com/exploits/3804","title":"Microsoft Windows - '.ani' GDI Remote Privilege Escalation (MS07-017)","type":"remote","platform":"windows","date":"2007-04-26","verified":true,"provenance":"source"},{"id":4045,"url":"https://www.exploit-db.com/exploits/4045","title":"Microsoft Windows - Animated Cursor Stack Overflow","type":"remote","platform":"windows","date":"2007-06-07","verified":true,"provenance":"source"},{"id":16526,"url":"https://www.exploit-db.com/exploits/16526","title":"Microsoft Windows - ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP) (MS07-017) (Metasploit)","type":"remote","platform":"windows","date":"2010-08-12","verified":true,"provenance":"source"},{"id":16698,"url":"https://www.exploit-db.com/exploits/16698","title":"Microsoft Windows - ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP) (MS07-017) (Metasploit)","type":"remote","platform":"windows","date":"2010-09-20","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":15,"earliest":"2007-03-31"},"pocGithub":{"count":1,"skipped":0,"earliest":"2019-11-29","earliestUrl":"https://github.com/Axua/CVE-2007-0038","repos":[{"name":"Axua/CVE-2007-0038","url":"https://github.com/Axua/CVE-2007-0038","stars":1,"created":"2019-11-29"}]},"metasploit":[{"name":"Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP)","module":"exploit/windows/browser/ms07_017_ani_loadimage_chunksize","type":"exploit","disclosureDate":"2007-03-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/browser/ms07_017_ani_loadimage_chunksize.rb"},{"name":"Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP)","module":"exploit/windows/email/ms07_017_ani_loadimage_chunksize","type":"exploit","disclosureDate":"2007-03-28","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/email/ms07_017_ani_loadimage_chunksize.rb"}],"first":{"date":"2007-03-28","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/browser/ms07_017_ani_loadimage_chunksize.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2007-03-28","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2007-03-31, PoC-in-GitHub 2019-11-29","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/browser/ms07_017_ani_loadimage_chunksize.rb","provenance":"source"},{"date":"2007-03-30","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2007-0038","provenance":"source"},{"date":"2007-04-03","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://learn.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-017","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":61.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 7149 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.89,"detail":"percentile 0.9946"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"15 Exploit-DB entries; 1 PoC-in-GitHub repo; 2 Metasploit modules"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2005-0416-family-cve-2005-0416","parents":[{"from":"CVE-2005-0416","to":"CVE-2007-0038","relation":"variant","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"variant","quote":"…cond (or later) anih block of a RIFF .ANI, cur, or .ico file, which results in memory corruption when processing cursors, animated cursors, and icons, a variant of CVE-2005-0416, as originally demonstrated using Internet Explorer 6 and 7.","from":"CVE.org","in":"CVE-2007-0038"}]}]}}