{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-20792 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-20792 is a high-severity memory corruption vulnerability in Clamav Clamav, published on 10 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-20792 and fix it if it is affected.\n\nWhat it is: CVE-2022-20792 is a high-severity memory corruption vulnerability in Clamav Clamav, published on 10 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-20792 in the wild and no public exploit code.\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-2022-20792/ (Markdown: https://insights.sbomify.com/CVE-2022-20792/index.md)","id":"CVE-2022-20792","markdown":"https://insights.sbomify.com/CVE-2022-20792/index.md","name":"CVE-2022-20792","record":{"aliases":["ALPINE-CVE-2022-20792","DEBIAN-CVE-2022-20792","GHSA-c59m-xfxc-m38p","UBUNTU-CVE-2022-20792"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ClamAV antivirus","requires_auth":"none","summary":"A local attacker can trigger a heap buffer overflow in ClamAV by placing a crafted signature file, potentially achieving code execution or crashing the service.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"clamav","vendor":"clamav"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"A vulnerability in the regex module used by the signature database load module of Clam AntiVirus (ClamAV) versions 0.104.0 through 0.104.2 and LTS version 0.103.5 and prior versions could allow an authenticated, local attacker to crash ClamAV at database load time, and possibly gain code execution. The vulnerability is due to improper bounds checking that may result in a multi-byte heap buffer overwflow write. An attacker could exploit this vulnerability by placing a crafted CDB ClamAV signature database file in the ClamAV database directory. An exploit could allow the attacker to run code as the clamav user.","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 Clam AntiVirus (ClamAV)","id":"CVE-2022-20792","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav"],"type":"memory_corruption","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Cisco Touch 10 Device Insufficient Identity Verification Vulnerability","id":"CVE-2022-20793"},"packages":[],"prev":{"headline":"Cisco Unified Communications Products Arbitrary File Read Vulnerability","id":"CVE-2022-20791"},"products":["Clam AntiVirus (ClamAV)"],"published":"2022-08-10","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-01","vendors":["Cisco"]},"summary":"A local attacker can trigger a heap buffer overflow in ClamAV by placing a crafted signature file, potentially achieving code execution or crashing the service.","url":"https://insights.sbomify.com/CVE-2022-20792/"}