Run metadata preclass scans before final verdict Metadata preclass bytecodes ran after cli_magic_scan() finalized the layer verdict. Evidence added by those hooks, or by the legacy metadata JSON scan, could miss the root-layer verdict update and clean-cache decision. Move root metadata preclass work into cli_magic_scan() for the root layer, before verdict finalization. Keep final metadata serialization in scan_common(), preserve legacy RootFileType handling, log long JSON strings in chunks, and normalize CL_BREAK from the preclass hook to a successful control result. Run post-scan callbacks only after the metadata preclass work has updated the layer verdict. Reconcile the verdict and status again after callbacks, because either callback API can add evidence or trust the current layer. Derive non-trusted layer verdicts from current evidence so removed indicators do not leave stale non-clean verdicts behind. Gate clean-cache insertion on a successful status so terminal scan errors are not cached as clean. CLAM-2991
ClamAV documentation is hosted at docs.clamav.net. The source archive for each release also includes a copy of the documentation for offline reading.
You can contribute to the documentation by submitting improvements to Cisco-Talos/clamav-documentation
For information about the features in this and prior releases, read the news.
Catch up on the latest about ClamAV by reading our blog and follow us on Twitter @clamav.
Anyone can learn to read and write ClamAV signatures. To get started, see our signature writing manual.
ClamAV can be run using Docker. For details, visit to the online manual under “Docker” and check out our images on Docker Hub.
For help installing from a package manager, refer to the online manual under “Packages”.
The following install packages are available for download from clamav.net/downloads:
To learn how to use these packages, refer to the online manual under “Installing”.
For step-by-step instructions, refer to the online manual:
The source archive for each release includes a copy of the documentation for offline reading.
A reference with all of the available build options can be found in the INSTALL.md file.
You can find additional advice for developers in the online manual under “For Developers”.
Visit the FAQ for tips on how to upgrade from a previous version.
The best way to get in touch with the ClamAV community is to join our mailing lists.
You can also join the community on our ClamAV Discord chat server.
The ClamAV development team welcomes code contributions, improvements to our documentation, and also bug reports.
Thanks for joining us!
ClamAV is licensed for public/open source use under the GNU General Public License, Version 2 (GPLv2).
See COPYING.txt for a copy of the license.
ClamAV contains a number of components that include code copied in part or in whole from 3rd party projects and whose code is not owned by Cisco and which are licensed differently than ClamAV. These include:
See the COPYING directory for a copy of the 3rd party project licenses.
Credit for contributions to each release can be found in the News.
ClamAV is brought to you by the ClamAV Team