{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-4018 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2006-4018 is a high-severity memory corruption vulnerability in Clamav Clamav, published on 8 Aug 2006. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2006-4018 and fix it if it is affected.\n\nWhat it is: CVE-2006-4018 is a high-severity memory corruption vulnerability in Clamav Clamav, published on 8 Aug 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-4018 exists.\n\nAffected product: Clamav Clamav. 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-2006-4018/ (Markdown: https://insights.sbomify.com/CVE-2006-4018/index.md)","id":"CVE-2006-4018","markdown":"https://insights.sbomify.com/CVE-2006-4018/index.md","name":"CVE-2006-4018","record":{"aliases":["DEBIAN-CVE-2006-4018","DSA-1153","GHSA-4jgv-gpc4-9rmg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"ClamAV antivirus library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by sending a crafted UPX packed file to systems using the vulnerable ClamAV library.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"clamav","vendor":"clamav"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/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 the pefromupx function in libclamav/upx.c in Clam AntiVirus (ClamAV) 0.81 through 0.88.3 allows remote attackers to execute arbitrary code via a crafted UPX packed file containing sections with large rsize values.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2006-08-07","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2006-08-07","kind":"exploitdb","ref":"28348","stars":null,"title":"Clam Anti-Virus ClamAV 0.88.x - UPX Compressed PE File Heap Buffer Overflow"}],"tier":"weaponised"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2006-4018","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav"],"type":"memory_corruption","year":"2006"},"n_packages":0,"n_references":21,"next":{"headline":"Code injection in n/a","id":"CVE-2006-4019"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2006-4017"},"products":["n/a"],"published":"2006-08-08","related":[{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2010-0098","kev_date_added":null,"published":"2010-04-08"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2009-1372","kev_date_added":null,"published":"2009-04-23"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2008-3914","kev_date_added":null,"published":"2008-09-09"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2008-0728","kev_date_added":null,"published":"2008-02-12"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2006-1615","kev_date_added":null,"published":"2006-04-06"},{"cvss_score":9.8,"headline":"ClamAV PDF Scanning Buffer Overflow Vulnerability","id":"CVE-2025-20260","kev_date_added":null,"published":"2025-06-18"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2013-7087","kev_date_added":null,"published":"2019-11-15"}],"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":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by sending a crafted UPX packed file to systems using the vulnerable ClamAV library.","url":"https://insights.sbomify.com/CVE-2006-4018/"}