CVE-2007-0038
Stack-based buffer overflow in the animated cursor code in Microsoft Windows 2000 SP4 through Vista allows remote attackers to execute…
- 9.3HighCVSS base score
- 73.1%Exploitation in 30 daysEPSS · top 0.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 17Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Metasploit modules and 15 Exploit-DB entries for it.
Show the exploits17
Metasploit modules2 modules
- Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP) (Metasploit module) (opens in a new tab)
exploit/windows/browser/ms07_017_ani_loadimage_chunksizeRank greatdisclosed 28 Mar 2007
- Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP) (Metasploit module) (opens in a new tab)
exploit/windows/email/ms07_017_ani_loadimage_chunksizeRank greatdisclosed 28 Mar 2007
Exploit-DB15 entries
- Microsoft Windows - ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP) (MS07-017) (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16698remote, windowspublished 20 Sept 2010Verified
- Microsoft Windows - ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP) (MS07-017) (Metasploit) (Exploit-DB entry) (opens in a new tab)
EDB-ID 16526remote, windowspublished 12 Aug 2010Verified
- Microsoft Windows - Animated Cursor Stack Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 4045remote, windowspublished 7 Jun 2007Verified
- Microsoft Windows - '.ani' GDI Remote Privilege Escalation (MS07-017) (Exploit-DB entry) (opens in a new tab)
EDB-ID 3804remote, windowspublished 26 Apr 2007Verified
- Microsoft Windows - GDI Privilege Escalation (MS07-017) (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 3755local, windowspublished 17 Apr 2007Verified
- Microsoft Windows - Animated Cursor '.ani' Local Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 3695local, windowspublished 9 Apr 2007Verified
- Microsoft Windows Explorer - '.ANI' File Denial of Service (Exploit-DB entry) (opens in a new tab)
EDB-ID 3684dos, windowspublished 8 Apr 2007Verified
- Microsoft Windows - GDI Privilege Escalation (MS07-017) (1) (Exploit-DB entry) (opens in a new tab)
EDB-ID 3688local, windowspublished 8 Apr 2007Verified
- Microsoft Windows - Animated Cursor '.ani' Universal Generator (Exploit-DB entry) (opens in a new tab)
EDB-ID 3651remote, windowspublished 3 Apr 2007Verified
- Microsoft Windows - Animated Cursor '.ani' Local Overflow (Hardware DEP) (Exploit-DB entry) (opens in a new tab)
EDB-ID 3652local, windowspublished 3 Apr 2007Verified
- Microsoft Windows - Animated Cursor '.ani' Local Buffer Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 3647local, windowspublished 2 Apr 2007Verified
- Microsoft Windows XP/Vista - Animated Cursor '.ani' Remote Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 3634remote, windowspublished 1 Apr 2007Verified
- Microsoft Windows XP - Animated Cursor '.ani' Remote Overflow (2) (Exploit-DB entry) (opens in a new tab)
EDB-ID 3635remote, windowspublished 1 Apr 2007Verified
- Microsoft Windows - Animated Cursor '.ani' Remote (eeye patch Bypass) (Exploit-DB entry) (opens in a new tab)
EDB-ID 3636remote, windowspublished 1 Apr 2007Verified
- Microsoft Windows - Animated Cursor '.ani' Local Stack Overflow (Exploit-DB entry) (opens in a new tab)
EDB-ID 3617local, windowspublished 31 Mar 2007Verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By microsoft
- 3 months later
· 3 months later
Published
- 17 years later
· 17 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
- EPSS (exploitation in 30 days)
- 73.1% · top 0.5% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 9.3.
Affected products
n/a
- affected n/a
References
References20
- TA07-093A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- ADV-2007-1215 (opens in a new tab)vdb-entryx_refsource_VUPENx_transferred
- 2542 (opens in a new tab)third-party-advisoryx_refsource_SREASONx_transferred
- 20070330 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- oval:org.mitre.oval:def:1854 (opens in a new tab)vdb-entrysignaturex_refsource_OVALx_transferred
- 20070331 RE: [Full-disclosure] 0-day ANI vulnerability in Microsoft Windows(CVE-2007-0038) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- VU#191609 (opens in a new tab)third-party-advisoryx_refsource_CERT-VNx_transferred
- HPSBST02206 (opens in a new tab)vendor-advisoryx_refsource_HPx_transferred
- 24659 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- TA07-089A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- win-ani-code-execution(33301) (opens in a new tab)vdb-entryx_refsource_XFx_transferred
- 20070402 MS announces out-of-band patch for ANI 0day (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://www.determina.com/security_center/security_advisories/securityadvisory_0day_032907.asp (opens in a new tab)x_refsource_MISCx_transferred
- MS07-017 (opens in a new tab)vendor-advisoryx_refsource_MSx_transferred
- TA07-100A (opens in a new tab)third-party-advisoryx_refsource_CERTx_transferred
- 33629 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- 20070402 More information on ZERT patch for ANI 0day (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20070330 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20070331 Re: 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 20070330 Re: 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2007-0042 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2007-0038)Record last updated .