{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2009-1097 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2009-1097 is a critical memory corruption vulnerability in Sun Jdk, published on 25 Mar 2009. 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-2009-1097 and fix it if it is affected.\n\nWhat it is: CVE-2009-1097 is a critical memory corruption vulnerability in Sun Jdk, published on 25 Mar 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2009-1097 in the wild and no public exploit code.\n\nAffected product: Sun Jdk. 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-2009-1097/ (Markdown: https://insights.sbomify.com/CVE-2009-1097/index.md)","id":"CVE-2009-1097","markdown":"https://insights.sbomify.com/CVE-2009-1097/index.md","name":"CVE-2009-1097","record":{"aliases":["GHSA-q7x4-hch5-5w3x"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Runtime Environment","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or read files by tricking users into opening crafted PNG or GIF images in vulnerable Java versions.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"jdk","vendor":"sun"},{"product":"jre","vendor":"sun"}],"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":"Multiple buffer overflows in Java SE Development Kit (JDK) and Java Runtime Environment (JRE) 6 Update 12 and earlier allow remote attackers to access files or execute arbitrary code via (1) a crafted PNG image that triggers an integer overflow during memory allocation for display on the splash screen, aka CR 6804996; and (2) a crafted GIF image from which unspecified values are used in calculation of offsets, leading to object-pointer corruption, aka CR 6804997.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2009-1097","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"sun:jdk","products":["sun:jdk","sun:jre"],"type":"memory_corruption","year":"2009"},"n_packages":0,"n_references":40,"next":{"headline":"Memory corruption in n/a","id":"CVE-2009-1098"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2009-1096"},"products":["n/a"],"published":"2009-03-25","related":[{"cvss_score":10,"headline":"Deserialization in n/a","id":"CVE-2011-3521","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3548","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3549","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-3554","kev_date_added":null,"published":"2011-10-19"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-0802","kev_date_added":null,"published":"2011-06-14"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-0814","kev_date_added":null,"published":"2011-06-14"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2011-0815","kev_date_added":null,"published":"2011-06-14"}],"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)"}],"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 read files by tricking users into opening crafted PNG or GIF images in vulnerable Java versions.","url":"https://insights.sbomify.com/CVE-2009-1097/"}