{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2022-20796 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2022-20796 is a medium-severity vulnerability in Clamav Clamav, published on 4 May 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-20796 and fix it if it is affected.\n\nWhat it is: CVE-2022-20796 is a medium-severity vulnerability in Clamav Clamav, published on 4 May 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-20796 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-20796/ (Markdown: https://insights.sbomify.com/CVE-2022-20796/index.md)","id":"CVE-2022-20796","markdown":"https://insights.sbomify.com/CVE-2022-20796/index.md","name":"CVE-2022-20796","record":{"aliases":["ALPINE-CVE-2022-20796","AZL-9668","DEBIAN-CVE-2022-20796","GHSA-mp8h-qmxp-c39w","UBUNTU-CVE-2022-20796"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ClamAV scanning library","requires_auth":"low_privilege","summary":"A local attacker can cause a denial of service in ClamAV via a truncated file, affecting systems using the vulnerable scanning library.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"cisco","cpe":[{"product":"secure_endpoint","vendor":"cisco"},{"product":"clamav","vendor":"clamav"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"},{"id":"CWE-822","name":"Untrusted Pointer Dereference"}],"description":"On May 4, 2022, the following vulnerability in the ClamAV scanning library versions 0.103.5 and earlier and 0.104.2 and earlier was disclosed: A vulnerability in Clam AntiVirus (ClamAV) versions 0.103.4, 0.103.5, 0.104.1, and 0.104.2 could allow an authenticated, local attacker to cause a denial of service condition on an affected device. For a description of this vulnerability, see the ClamAV blog.","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":"ClamAV Truncated File Denial of Service Vulnerability Affecting Cisco Products: April 2022","id":"CVE-2022-20796","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"clamav:clamav","products":["clamav:clamav","debian:debian_linux","fedoraproject:fedora"],"type":"null_dereference","year":"2022"},"n_packages":0,"n_references":6,"next":{"headline":"Cisco Secure Network Analytics Remote Code Execution Vulnerability","id":"CVE-2022-20797"},"packages":[],"prev":{"headline":"Denial of service in Cisco Adaptive Security Appliance (ASA) Software","id":"CVE-2022-20795"},"products":["Cisco AMP for Endpoints"],"published":"2022-05-04","related":[{"cvss_score":9.8,"headline":"Memory corruption in Cisco Secure Endpoint","id":"CVE-2023-20032","kev_date_added":null,"published":"2023-02-16"},{"cvss_score":8.6,"headline":"ClamAV CHM File Parsing Denial of Service Vulnerability Affecting Cisco Products: April 2022","id":"CVE-2022-20770","kev_date_added":null,"published":"2022-05-04"},{"cvss_score":7.5,"headline":"ClamAV XAR File Format Processing Memory Corruption Vulnerability","id":"CVE-2026-20348","kev_date_added":null,"published":"2026-08-07"},{"cvss_score":7.5,"headline":"ClamAV PE File Format Processing Out-of-Bounds Memory Corruption Vulnerability","id":"CVE-2026-20213","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.5,"headline":"ClamAV FSG File Format Processing Out-of-Bounds Memory Corruption Vulnerability","id":"CVE-2026-20214","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.5,"headline":"ClamAV 7Zip File Format Processing Out-of-Bounds Memory Corruption Vulnerability","id":"CVE-2026-20215","kev_date_added":null,"published":"2026-07-01"},{"cvss_score":7.5,"headline":"ClamAV InstallShield File Format Processing Resource Exhaustion Vulnerability","id":"CVE-2026-20216","kev_date_added":null,"published":"2026-07-01"}],"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":"partial"},"state":"PUBLISHED","updated":"2024-11-06","vendors":["Cisco"]},"summary":"A local attacker can cause a denial of service in ClamAV via a truncated file, affecting systems using the vulnerable scanning library.","url":"https://insights.sbomify.com/CVE-2022-20796/"}