{"answers":{"affected":"It affects 6 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0597 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0597 is a critical memory corruption vulnerability in Microsoft Windows 98se, published on 5 Aug 2004. 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-2004-0597 and fix it if it is affected.\n\nWhat it is: CVE-2004-0597 is a critical memory corruption vulnerability in Microsoft Windows 98se, published on 5 Aug 2004. 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-2004-0597 exists.\n\nAffected product: Microsoft Windows 98se. 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-2004-0597/ (Markdown: https://insights.sbomify.com/CVE-2004-0597/index.md)","id":"CVE-2004-0597","markdown":"https://insights.sbomify.com/CVE-2004-0597/index.md","name":"CVE-2004-0597","record":{"aliases":["CVE-2004-0954","GHSA-pjf2-ggxp-rg8p"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"libpng image library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into opening malformed PNG images processed by vulnerable libpng versions.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libpng","vendor":"greg_roelofs"},{"product":"msn_messenger","vendor":"microsoft"},{"product":"windows_98se","vendor":"microsoft"},{"product":"windows_me","vendor":"microsoft"},{"product":"windows_media_player","vendor":"microsoft"},{"product":"windows_messenger","vendor":"microsoft"}],"cvss":{"score":10,"severity":"critical","source":"nvd","vector":"AV:N/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"Multiple buffer overflows in libpng 1.2.5 and earlier, as used in multiple products, allow remote attackers to execute arbitrary code via malformed PNG images in which (1) the png_handle_tRNS function does not properly validate the length of transparency chunk (tRNS) data, or the (2) png_handle_sBIT or (3) png_handle_hIST functions do not perform sufficient bounds checking.","ecosystems":[],"exploits":{"exploitdb":3,"first_seen":"2004-08-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-08-11","kind":"exploitdb","ref":"389","stars":null,"title":"LibPNG Graphics Library - Remote Buffer Overflow"},{"date":"2004-08-13","kind":"exploitdb","ref":"393","stars":null,"title":"LibPNG 1.2.5 - 'png_jmpbuf()' Local Buffer Overflow"},{"date":"2005-02-08","kind":"exploitdb","ref":"25094","stars":null,"title":"Microsoft MSN Messenger 6.2.0137 - '.png' Remote Buffer Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2004-0597","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"microsoft:windows_98se","products":["microsoft:windows_98se","microsoft:windows_me","microsoft:windows_media_player"],"type":"memory_corruption","year":"2004"},"n_packages":0,"n_references":42,"next":{"headline":"Null dereference in n/a","id":"CVE-2004-0598"},"packages":[],"prev":{"headline":"Null dereference in n/a","id":"CVE-2004-0596"},"products":["n/a"],"published":"2004-08-05","related":[{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2006-3334","kev_date_added":null,"published":"2006-06-30"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-1363","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2002-0660","kev_date_added":null,"published":"2002-08-10"},{"cvss_score":5,"headline":"Memory corruption in n/a","id":"CVE-2006-0481","kev_date_added":null,"published":"2006-01-31"},{"cvss_score":5,"headline":"Null dereference in n/a","id":"CVE-2004-0598","kev_date_added":null,"published":"2004-08-05"},{"cvss_score":5,"headline":"Integer overflow in n/a","id":"CVE-2004-0599","kev_date_added":null,"published":"2004-08-05"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by tricking users into opening malformed PNG images processed by vulnerable libpng versions.","url":"https://insights.sbomify.com/CVE-2004-0597/"}