ClamAV

An open source cross-platform antivirus engine for detecting viruses, malware & other malicious threats. It is versatile, performant and very effective.

Open Source

ClamAV Source Code

Author

Cisco-Talos

Description

ClamAV - Documentation is here: https://docs.clamav.net

#antivirus#clamav#gplv2#open-source

Homepage

https://www.clamav.net/

Repository

  • LicenseGPL-2.0
  • Created20 Jul 12
  • Primary languageC
  • Size182,242 KB
  • Stars7,540
  • Forks960
  • Watchers7,540

Language Usage

Language Usage

Project Health

Recent Commits

  • Val S.(06 Nov 26)

    Merge pull request #1754 from jhumlick/CLAM-1058-update-libyara libclamav: update bundled YARA parser behavior

  • John Humlick(22 Oct 26)

    Merge pull request #1814 from val-ms/CLAM-3074-mime-boundary-parsing Improve MIME boundary parameter handling

  • John Humlick(22 Oct 26)

    Merge pull request #1818 from val-ms/CLAM-3096-handler-type-alert libclamav: avoid duplicate HandlerType alerts after retyping

  • John Humlick(22 Oct 26)

    Merge pull request #1843 from val-ms/CLAM-3108-clamsubmit-post Fix clamsubmit submission workflow and error handling

  • John Humlick(22 Oct 26)

    Merge pull request #1826 from val-ms/CLAM-3066-apm-string-bounds libclamav: Bound APM partition strings

  • John Humlick(22 Oct 26)

    Merge pull request #1825 from val-ms/CLAM-3065-7z-pack-stream-bounds libclamav: Validate 7z folder pack stream ranges

  • John Humlick(22 Oct 26)

    Merge pull request #1828 from val-ms/CLAM-3073-autoit-header-bounds libclamav: Validate AutoIt compressed headers

  • John Humlick(22 Oct 26)

    Merge pull request #1829 from val-ms/CLAM-3077-ole2-property-bounds libclamav: Harden OLE2 property parsing

  • John Humlick(22 Oct 26)

    Merge pull request #1830 from val-ms/CLAM-3086-ac-virname-lifetime libclamav: Clear borrowed names after prefiltering

  • John Humlick(22 Oct 26)

    Merge pull request #1831 from val-ms/CLAM-3101-html-tag-contents-bounds libclamav: Bound HTML tag content normalization

  • John Humlick(22 Oct 26)

    Merge pull request #1832 from val-ms/CLAM-3102-zip-truncation-alert libclamav: Alert on truncated ZIP members

  • John Humlick(29 Sept 26)

    test: fix YARA negation fixtures

  • John Humlick(11 Sept 26)

    libclamav: address YARA negation matcher review feedback Fix negated hex handling for wide signatures, overlapping alternatives, AC prefilter enumeration, and minimum-depth enforcement. Reject unsupported nocase negation, update generated YARA license headers, and add regression coverage. CLAM-1058

  • John Humlick(28 Jul 26)

    libclamav: add native hex negation matcher units Represent ~HH, ~H?, and ~?H as single AC matcher predicates for both YARA and native signatures instead of expanding them into alternatives. Preserve negated tokens during YARA import, reject malformed forms, and update filtering, anchor selection, and forward/reverse matching. Add structural and clamscan coverage for matching semantics, invalid syntax, gaps, boundaries, logical signatures, and existing specials. CLAM-1058

  • John Humlick(20 Jul 26)

    libclamav: support negated YARA nibble wildcards Expand negated nibble wildcards into the 15 allowed nibble values when converting YARA hex strings to ClamAV signatures. Add matching and non-matching tests for both high- and low-nibble wildcards. CLAM-1058

  • John Humlick(10 Jul 26)

    libclamav: address YARA parser review feedback Apply zero-quantifier semantics to counted for/of expressions by emitting a dedicated OP_OF_COUNT comparison path. Translate YARA hex not-byte syntax (~HH) into ClamAV negated byte alternates, and allow fixed negated alternates through default ASCII/internal matcher flags. Update YARA-derived source headers from the old Apache notice to BSD-3-Clause and add clamscan coverage for the new parser/runtime behavior. CLAM-1058

  • John Humlick(02 Jul 26)

    libclamav: update bundled YARA parser behavior Refresh ClamAV's YARA parser/lexer support toward current YARA syntax, including hex-string comments, private strings, octal literals, and clearer errors for unsupported modifiers. Also harden YARA VM edge cases around fmap reads, divide/modulo/shift operations, undefined string operands, and add clamscan sanity tests for the new parser/runtime behavior.

  • Valerie Snyder(29 Sept 26)

    Use page CSRF token for presigned requests

  • Valerie Snyder(28 Sept 26)

    Check alternate CA bundle configuration

  • Valerie Snyder(28 Sept 26)

    Fix clamsubmit submission workflow and error handling

  • Valerie Snyder(26 Aug 26)

    libclamav: Clear borrowed names after prefiltering cli_ac_addsig() temporarily assigns the caller-owned signature name to an AC pattern while adding it to the prefilter. Logical signature subpatterns do not later replace that alias with an owned per-pattern copy, leaving a stale pointer in the compiled matcher. Clear the temporary alias immediately after the prefilter call and make the relative-offset diagnostic safe for patterns without a per-pattern name. Add unit coverage for the logical-subsignature ownership invariant. Reported by Alexander Leidinger. CLAM-3086

  • Valerie Snyder(17 Sept 26)

    libclamav: Alert on truncated ZIP members ZIP decompression truncates member output that exceeds MaxFileSize, but the local truncation paths did not report the limit through AlertExceedsMax. This could leave an intentionally incomplete scan with a clean result even when the caller requested limit alerts. Report MaxFileSize at each actual truncation point for stored, DEFLATE/DEFLATE64, BZIP2, and IMPLODE members. Add coverage for each compressed method and verify that the alert remains opt-in. CLAM-3102

  • Valerie Snyder(17 Sept 26)

    libclamav: Bound HTML tag content normalization Reserve room for the current input byte when a multibyte full stop is normalized into the fixed-size anchor-text buffer. This prevents the write index from advancing beyond the logical content limit and keeps final NUL termination within the declared array. Preserve the two-byte Big5 full-stop behavior and add boundary coverage for both normalization paths. Reported by Ishan Nim. CLAM-3101

  • Valerie Snyder(09 Sept 26)

    libclamav: Reject whitespace after RFC 2231 suffixes Use one boundary parameter parser for tokenizer look-ahead and final boundary selection so malformed extended names cannot become authoritative. Require RFC 2231 suffixes to be immediately followed by their separator while preserving legacy ordinary-name whitespace, spaced suffix, and colon-separator behavior. Cover direct and continued forms with both supported separators. CLAM-3074

  • Valerie Snyder(05 Sept 26)

    libclamav: exclude HandlerType rescans from clean cache The clean-cache key does not include the HandlerType used for a retyped layer. Bypass cache lookup and insertion for these layers so one HandlerType scan cannot suppress a later scan of the same content with another handler. Add regression coverage combining ZIP and PE HandlerType signatures with a PE-specific detection. Tests: ctest --test-dir build -V -R '^clamscan$' CLAM-3096

  • Valerie Snyder(24 Aug 26)

    libclamav: Validate AutoIt compressed headers Compressed AutoIt EA05 and EA06 members contain an eight-byte header with a four-byte magic value followed by the uncompressed size. The parsers only required four bytes before reading both fields, allowing short inputs to be read beyond their allocation. Require the complete eight-byte header before decompression. Validate variable-length record fields before advancing the parser cursor and consume rejected short payloads so malformed members cannot hide valid members that follow. Harden bitstream and back-reference arithmetic so malformed lengths cannot underflow cursor bounds, overflow match lengths, or copy from uninitialized output. Reported by Nebula Security. CLAM-3073

  • Valerie Snyder(03 Sept 26)

    libclamav: avoid duplicate HandlerType alerts after retyping Return clean when evaluating a HandlerType signature on a layer that was already retyped, so the signature is not reported again after the child scan. Add a clamscan regression covering the Target:0 and --allmatch case. Tests: ctest --test-dir build -V -R '^clamscan$' CLAM-3096

  • Val S.(27 Aug 26)

    Merge pull request #1758 from Cisco-Talos/slow-signature-repeat-starting-character CLAM-3049 perf(matcher): avoid slow AC heads with repeated bytes

  • Valerie Snyder(26 Aug 26)

    libclamav: Harden OLE2 property parsing OLE2 metadata property offsets and lengths are archive-controlled 32-bit values. Adding them in bounds checks could wrap and allow the parser to read beyond the property set while generating JSON metadata. Use subtraction-based range checks for the property-set and typed-value ranges. Decode floating-point properties by endian-converting their bit patterns, reject non-finite values, honor explicit UTF-16 encoding, and preserve unsigned metadata values in JSON. CLAM-3077

  • Valerie Snyder(26 Aug 26)

    libclamav: Split parameters after quoted boundaries Canonical boundary parsing kept parameter-shaped text that immediately followed a closing boundary quote in the same argument. This could cause an earlier boundary to be restored after the legacy parser had selected a later value. Split immediate MIME parameter tokens after closing quotes and recognize a resumed boundary after an intervening quoted parameter. Cover ordinary, colon-separated, extended, and continued declarations while preserving whitespace and literal-text compatibility cases. CLAM-3074

ClamAV Security

6.7/10

Repo Security Summary

Updated 24 Aug 26

  • Maintained10/10
  • Code-Review4/10
  • Security-Policy10/10
  • CII-Best-Practices0/10
  • PackagingN/A
  • Dangerous-Workflow10/10
  • Token-Permissions0/10
  • Binary-Artifacts6/10
  • License10/10
  • Fuzzing10/10
  • Branch-ProtectionN/A
  • Pinned-Dependencies0/10
  • Signed-Releases8/10
  • SAST10/10

ClamAV Website

Website

ClamAVNet

Redirects

Does not redirect

Security Checks

All 65 security checks passed

Server Details

  • IP Address104.18.203.90
  • LocationSan Francisco,California,United States of America,NA
  • ISPCloudFlare Inc.
  • ASNAS13335

Associated Countries

  • USUS

Safety Score

Website marked as safe

100%

Trackers

Loads 1 third-party tracker

  • newrelic.comNew Relic

Blacklist Check

www.clamav.net was found on 0 blacklists

  • AntiSocial Blacklist
  • Artists Against 419
  • Badbitcoin
  • Bambenek Consulting
  • CERT Polska
  • CoinBlockerLists
  • CRDF
  • CryptoScamDB
  • EtherAddressLookup
  • EtherScamDB
  • Fake Website Buster
  • MetaMask EthPhishing
  • NABP Not Recommended Sites
  • OpenPhish
  • PetScams
  • PhishFeed
  • PhishFort
  • Phishing.Database
  • PhishStats
  • PhishTank
  • Phishunt
  • RPiList Not Serious
  • Scam.Directory
  • SecureReload Phishing List
  • Spam404
  • StopGunScams
  • Suspicious Hosting IP
  • ThreatFox
  • ThreatLog
  • TweetFeed
  • URLhaus
  • ViriBack C2 Tracker

Website Preview

Website preview

ClamAV Docker

Container Info

clamav

ClamAV® is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.

#Other#Anitvirus

View on DockerHub

mkodockx/docker-clamav:alpine

Run Command

docker run -d \
  -p 3310:3310/tcp \
  -v /etc/timezone:/etc/timezone \
  -v /etc/localtime:/etc/localtime \
  -v /portainer/Files/AppData/Config/clamav/config:/etc/clamav \
  -v /portainer/Files/AppData/Config/clamav/virus_definitions:/var/lib/clamav \
  --restart=unless-stopped \
  mkodockx/docker-clamav:alpine

Compose File

version: 3.8
services:
  clamav:
    image: "mkodockx/docker-clamav:alpine"
    ports:
      - "3310:3310/tcp"
    volumes:
      - "/etc/timezone:/etc/timezone"
      - "/etc/localtime:/etc/localtime"
      - "/portainer/Files/AppData/Config/clamav/config:/etc/clamav"
      - "/portainer/Files/AppData/Config/clamav/virus_definitions:/var/lib/clamav"
    restart: unless-stopped

Port List

  • 3310:3310/tcp

Volume Mounting

  • Container PathHost Bind
  • /etc/timezone/etc/timezone
  • /etc/localtime/etc/localtime
  • /etc/clamav/portainer/Files/AppData/Config/clamav/config
  • /var/lib/clamav/portainer/Files/AppData/Config/clamav/virus_definitions

ClamAV Reviews

More Anti-Malware

About the Data: ClamAV

Change History

Edit ClamAV Data

You can edit ClamAV's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external sources, a list of these can be found data documentation.

Origin Data

Modify Data

API

You can access ClamAV's data programmatically via our API. Simply make a GET request to:

https://api.awesome-privacy.xyz/v1/services/clamav

The REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.

Share ClamAV

Help your friends compare Anti-Malware, and pick privacy-respecting software and services.
Share ClamAV and Awesome Privacy with your network!