{"answers":{"affected":"It affects 4 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-0038 exists.","fix":"No fix has been published for CVE-2007-0038 yet. Limit exposure of the affected software until one is available.","what":"CVE-2007-0038 is a critical memory corruption vulnerability in Microsoft Windows 2000, published on 30 Mar 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2007-0038 and fix it if it is affected.\n\nWhat it is: CVE-2007-0038 is a critical memory corruption vulnerability in Microsoft Windows 2000, published on 30 Mar 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-0038 exists.\n\nAffected product: Microsoft Windows 2000. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2007-0038/ (Markdown: https://insights.sbomify.com/CVE-2007-0038/index.md)","id":"CVE-2007-0038","markdown":"https://insights.sbomify.com/CVE-2007-0038/index.md","name":"CVE-2007-0038","record":{"aliases":["GHSA-p2h6-rq92-jmvq"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Windows OS","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or cause denial of service via crafted animated cursor files in Microsoft Windows.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"windows_2000","vendor":"microsoft"},{"product":"windows_2003_server","vendor":"microsoft"},{"product":"windows_vista","vendor":"microsoft"},{"product":"windows_xp","vendor":"microsoft"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"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.","ecosystems":[],"exploits":{"exploitdb":15,"first_seen":"2007-03-28","github_poc":1,"max_poc_stars":1,"metasploit":2,"nuclei":0,"refs":[{"date":"2019-11-29T11:15:39Z","kind":"github_poc","ref":"https://github.com/Axua/CVE-2007-0038","stars":1,"title":"IE7 buffer overflow through an ANI file"},{"date":"2007-03-28","kind":"metasploit","ref":"exploit/windows/browser/ms07_017_ani_loadimage_chunksize","stars":null,"title":"Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP)"},{"date":"2007-03-28","kind":"metasploit","ref":"exploit/windows/email/ms07_017_ani_loadimage_chunksize","stars":null,"title":"Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP)"},{"date":"2007-03-31","kind":"exploitdb","ref":"3617","stars":null,"title":"Microsoft Windows - Animated Cursor '.ani' Local Stack Overflow"},{"date":"2007-04-01","kind":"exploitdb","ref":"3634","stars":null,"title":"Microsoft Windows XP/Vista - Animated Cursor '.ani' Remote Overflow"},{"date":"2007-04-01","kind":"exploitdb","ref":"3635","stars":null,"title":"Microsoft Windows XP - Animated Cursor '.ani' Remote Overflow (2)"},{"date":"2007-04-01","kind":"exploitdb","ref":"3636","stars":null,"title":"Microsoft Windows - Animated Cursor '.ani' Remote (eeye patch Bypass)"},{"date":"2007-04-02","kind":"exploitdb","ref":"3647","stars":null,"title":"Microsoft Windows - Animated Cursor '.ani' Local Buffer Overflow"}],"tier":"weaponised"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2007-0038","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_2000","products":["microsoft:windows_2000","microsoft:windows_2003_server","microsoft:windows_vista","microsoft:windows_xp"],"type":"memory_corruption","year":"2007"},"n_packages":0,"n_references":21,"next":{"headline":"Null dereference in n/a","id":"CVE-2007-0039"},"packages":[],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2007-0037"},"products":["n/a"],"published":"2007-03-30","related":[{"cvss_score":9.8,"headline":"Microsoft Windows Buffer Overflow","id":"CVE-2008-4250","kev_date_added":"2026-05-20","published":"2008-10-23"},{"cvss_score":7.8,"headline":"Microsoft Windows Kernel Exception Handler","id":"CVE-2010-0232","kev_date_added":"2022-03-03","published":"2010-01-21"},{"cvss_score":7.8,"headline":"Microsoft Windows Improper Input Validation","id":"CVE-2009-1123","kev_date_added":"2022-03-03","published":"2009-06-10"},{"cvss_score":7.8,"headline":"Microsoft Windows Privilege Escalation","id":"CVE-2002-0367","kev_date_added":"2022-03-03","published":"2003-04-02"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2010-0269","kev_date_added":null,"published":"2010-04-14"},{"cvss_score":10,"headline":"Weak cryptography in n/a","id":"CVE-2010-0231","kev_date_added":null,"published":"2010-02-10"},{"cvss_score":10,"headline":"Auth bypass in n/a","id":"CVE-2009-3677","kev_date_added":null,"published":"2009-12-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"BSD-3-Clause","name":"Metasploit"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code or cause denial of service via crafted animated cursor files in Microsoft Windows.","url":"https://insights.sbomify.com/CVE-2007-0038/"}