{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-5904 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2012-5904 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-5904 is a medium-severity memory corruption vulnerability in Irfanview Irfanview, published on 17 Nov 2012. 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-2012-5904 and fix it if it is affected.\n\nWhat it is: CVE-2012-5904 is a medium-severity memory corruption vulnerability in Irfanview Irfanview, published on 17 Nov 2012. 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-2012-5904 in the wild and no public exploit code.\n\nAffected product: Irfanview Irfanview. 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-2012-5904/ (Markdown: https://insights.sbomify.com/CVE-2012-5904/index.md)","id":"CVE-2012-5904","markdown":"https://insights.sbomify.com/CVE-2012-5904/index.md","name":"CVE-2012-5904","record":{"aliases":["GHSA-2g2v-frmf-48r9"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"IrfanView image viewer","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by tricking users into opening a crafted RLE compressed bitmap file in IrfanView.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"irfanview","vendor":"irfanview"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"Heap-based buffer overflow in IrfanView before 4.33 allows remote attackers to execute arbitrary code via a crafted RLE compressed bitmap file such as a DIB, RLE, or BMP image.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Memory corruption in n/a","id":"CVE-2012-5904","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"irfanview:irfanview","products":["irfanview:irfanview"],"type":"memory_corruption","year":"2012"},"n_packages":0,"n_references":5,"next":{"headline":"Memory corruption in n/a","id":"CVE-2012-5905"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-5903"},"products":["n/a"],"published":"2012-11-17","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2007-1867","kev_date_added":null,"published":"2007-04-04"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2008-0493","kev_date_added":null,"published":"2008-01-30"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2007-1948","kev_date_added":null,"published":"2007-04-11"},{"cvss_score":8.8,"headline":"Memory corruption in n/a","id":"CVE-2020-13905","kev_date_added":null,"published":"2020-06-10"},{"cvss_score":8.8,"headline":"Integer overflow in Irfanview","id":"CVE-2017-2813","kev_date_added":null,"published":"2017-06-21"},{"cvss_score":8.5,"headline":"Memory corruption in n/a","id":"CVE-2007-2363","kev_date_added":null,"published":"2007-04-30"},{"cvss_score":7.8,"headline":"IrfanView DWG File Parsing Out-Of-Bounds Read Remote Code Execution Vulnerability","id":"CVE-2024-11506","kev_date_added":null,"published":"2024-11-22"}],"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-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by tricking users into opening a crafted RLE compressed bitmap file in IrfanView.","url":"https://insights.sbomify.com/CVE-2012-5904/"}