Skip to content
OpenAdvisories
Critical SUSE-SU-2020:3790-1 14 CVEs

Security update for clamav

Published Dec 14, 2020 · Updated Feb 4, 2026

Summary

This update for clamav fixes the following issues:

clamav was updated to the new major release 0.103.0. (jsc#ECO-3010,bsc#1118459)

Note that libclamav was changed incompatible, if you have a 3rd party
application that uses libclamav, it needs to be rebuilt.

Update to 0.103.0

* clamd can now reload the signature database without blocking
scanning. This multi-threaded database reload improvement was made
possible thanks to a community effort.

- Non-blocking database reloads are now the default behavior. Some
systems that are more constrained on RAM may need to disable
non-blocking reloads as it will temporarily consume two times as
much memory. We added a new clamd config option
ConcurrentDatabaseReload, which may be set to no.

* Fix clamav-milter.service (requires clamd.service to run)

Update to 0.102.4

* CVE-2020-3350: Fix a vulnerability wherein a malicious user could
replace a scan target's directory with a symlink to another path
to trick clamscan, clamdscan, or clamonacc into removing or moving
a different file (eg. a critical system file). The issue would
affect users that use the --move or --remove options for clamscan,
clamdscan, and clamonacc.
* CVE-2020-3327: Fix a vulnerability in the ARJ archive parsing
module in ClamAV 0.102.3 that could cause a Denial-of-Service
(DoS) condition. Improper bounds checking results in an
out-of-bounds read which could cause a crash. The previous fix for
this CVE in 0.102.3 was incomplete. This fix correctly resolves
the issue.
* CVE-2020-3481: Fix a vulnerability in the EGG archive module in
ClamAV 0.102.0 - 0.102.3 could cause a Denial-of-Service (DoS)
condition. Improper error handling may result in a crash due to a
NULL pointer dereference. This vulnerability is mitigated for
those using the official ClamAV signature databases because the
file type signatures in daily.cvd will not enable the EGG archive
parser in versions affected by the vulnerability.

Update to 0.102.3

* CVE-2020-3327: Fix a vulnerability in the ARJ archive parsing
module in ClamAV 0.102.2 that could cause a Denial-of-Service (DoS)
condition. Improper bounds checking of an unsigned variable results
in an out-of-bounds read which causes a crash.
* CVE-2020-3341: Fix a vulnerability in the PDF parsing module in
ClamAV 0.101 - 0.102.2 that could cause a Denial-of-Service (DoS)
condition. Improper size checking of a buffer used to initialize AES
decryption routines results in an out-of-bounds read which may cause
a crash.
* Fix 'Attempt to allocate 0 bytes' error when parsing some PDF
documents.
* Fix a couple of minor memory leaks.
* Updated libclamunrar to UnRAR 5.9.2.

Update to 0.102.2:

* CVE-2020-3123: A denial-of-service (DoS) condition may occur when
using the optional credit card data-loss-prevention (DLP) feature.
Improper bounds checking of an unsigned variable resulted in an
out-of-bounds read, which causes a crash.
* Significantly improved the scan speed of PDF files on Windows.
* Re-applied a fix to alleviate file access issues when scanning RAR
files in downstream projects that use libclamav where the scanning
engine is operating in a low-privilege process. This bug was originally
fixed in 0.101.2 and the fix was mistakenly omitted from 0.102.0.
* Fixed an issue where freshclam failed to update if the database version
downloaded is one version older than advertised. This situation may
occur after a new database version is published. The issue affected
users downloading the whole CVD database file.
* Changed the default freshclam ReceiveTimeout setting to 0 (infinite).
The ReceiveTimeout had caused needless database update failures for
users with slower internet connections.
* Correctly display the number of kilobytes (KiB) in progress bar and
reduced the size of the progress bar to accommodate 80-character width
terminals.
* Fixed an issue where running freshclam manually causes a daemonized
freshclam process to fail when it updates because the manual instance
deletes the temporary download directory. The freshclam temporary files
will now download to a unique directory created at the time of an update
instead of using a hardcoded directory created/destroyed at the program
start/exit.
* Fix for freshclam's OnOutdatedExecute config option.
* Fixes a memory leak in the error condition handling for the email
parser.
* Improved bound checking and error handling in ARJ archive parser.
* Improved error handling in PDF parser.
* Fix for memory leak in byte-compare signature handler.

- The freshclam.service should not be started before the network is
online (it checks for updates immediately upon service start)

Update to 0.102.1:

* CVE-2019-15961, bsc#1157763: A Denial-of-Service (DoS)
vulnerability may occur when scanning a specially crafted email
file as a result of excessively long scan times. The issue is
resolved by implementing several maximums in parsing MIME
messages and by optimizing use of memory allocation.
* Build system fixes to build clamav-milter, to correctly link
with libxml2 when detected, and to correctly detect fanotify
for on-access scanning feature support.
* Signature load time is significantly reduced by changing to a
more efficient algorithm for loading signature patterns and
allocating the AC trie. Patch courtesy of Alberto Wu.
* Introduced a new configure option to statically link libjson-c
with libclamav. Static linking with libjson is highly
recommended to prevent crashes in applications that use
libclamav alongside another JSON parsing library.
* Null-dereference fix in email parser when using the
--gen-json metadata option.
* Fixes for Authenticode parsing and certificate signature
(.crb database) bugs.

Update to 0.102.0:

* The

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 15 SP1 Linux Enterprise Module for Basesystem 15 SP1 clamav 0.103.0-3.23.1
SUSE · SLES 15 SP2 Linux Enterprise Module for Basesystem 15 SP2 clamav 0.103.0-3.23.1

Vulnerabilities 14

  • Critical 9.8

    out-of-bounds write when there are many bzip2 selectors

    BZ2_decompress in decompress.c in bzip2 through 1.0.6 has an out-of-bounds write when there are many selectors.

  • Critical 9.8

    Clam AntiVirus RAR Directory Traversal Vulnerability

    A vulnerability in the RAR file scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and 0.101.0 could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to a…

  • High 7.5

    ClamAV Zip Bomb Vulnerability

    ClamAV versions prior to 0.101.3 are susceptible to a zip bomb vulnerability where an unauthenticated attacker can cause a denial of service condition by sending crafted messages to an affected system.

  • High 7.5

    Clam AntiVirus (ClamAV) Software Email Parsing Vulnerability

    A vulnerability in the email parsing module Clam AntiVirus (ClamAV) Software versions 0.102.0, 0.101.4 and prior could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to ineffici…

  • High 7.5

    Clam AntiVirus PDF Out-of-Bounds Read Vulnerability

    A vulnerability in the Portable Document Format (PDF) scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and 0.101.0 could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. T…

  • High 7.5

    Clam AntiVirus PDF Denial of Service Vulnerability

    A vulnerability in the Portable Document Format (PDF) scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and prior could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. The…

  • High 7.5

    ClamAV OLE2 File Out-Of-Bounds Write Vulnerability

    A vulnerability in the Object Linking & Embedding (OLE2) file scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and prior could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. T…

  • High 7.5

    ClamAV Denial of Service Vulnerability

    ClamAV versions prior to 0.101.2 are susceptible to a denial of service (DoS) vulnerability. An out-of-bounds heap read condition may occur when scanning PE files. An example is Windows EXE and DLL files that have been packed using Aspack as a result of inade…

  • High 7.5

    Clam AntiVirus PE File Out-of-Bounds Read Vulnerability

    A vulnerability in the Portable Executable (PE) file scanning functionality of Clam AntiVirus (ClamAV) Software versions 0.101.1 and prior could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulner…

  • High 7.5

    A vulnerability in the Data-Loss-Prevention (DLP) module in Clam AntiVirus (ClamAV) Software versions 0.102.1 and 0.102…

  • High 7.5

    ClamAV ARJ Archive Parsing Denial of Service Vulnerability

    A vulnerability in the ARJ archive parsing module in Clam AntiVirus (ClamAV) Software versions 0.102.2 could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to a heap buffer over…

  • High 7.5

    ClamAV PDF Parsing Denial of Service Vulnerability

    A vulnerability in the PDF archive parsing module in Clam AntiVirus (ClamAV) Software versions 0.101 - 0.102.2 could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to a stack bu…

  • High 7.5

    Clam AntiVirus (ClamAV) Software Null Pointer Dereference Vulnerability

    A vulnerability in the EGG archive parsing module in Clam AntiVirus (ClamAV) Software versions 0.102.0 - 0.102.3 could allow an unauthenticated, remote attacker to cause a denial of service condition on an affected device. The vulnerability is due to a null p…

  • Medium 5.5

    Cisco AMP for Endpoints and ClamAV Privilege Escalation Vulnerability

    A vulnerability in the endpoint software of Cisco AMP for Endpoints and Clam AntiVirus could allow an authenticated, local attacker to cause the running software to delete arbitrary files on the system. The vulnerability is due to a race condition that could …

References

  • report
    https://bugzilla.suse.com/1104457
  • report
    https://bugzilla.suse.com/1118459
  • report
    https://bugzilla.suse.com/1130721
  • report
    https://bugzilla.suse.com/1144504
  • report
    https://bugzilla.suse.com/1149458
  • report
    https://bugzilla.suse.com/1157763
  • web
    https://www.suse.com/security/cve/CVE-2019-12625
  • web
    https://www.suse.com/security/cve/CVE-2019-12900
  • web
    https://www.suse.com/security/cve/CVE-2019-15961
  • web
    https://www.suse.com/security/cve/CVE-2019-1785
  • web
    https://www.suse.com/security/cve/CVE-2019-1786
  • web
    https://www.suse.com/security/cve/CVE-2019-1787
  • web
    https://www.suse.com/security/cve/CVE-2019-1788
  • web
    https://www.suse.com/security/cve/CVE-2019-1789
  • web
    https://www.suse.com/security/cve/CVE-2019-1798
  • web
    https://www.suse.com/security/cve/CVE-2020-3123
  • web
    https://www.suse.com/security/cve/CVE-2020-3327
  • web
    https://www.suse.com/security/cve/CVE-2020-3341
  • web
    https://www.suse.com/security/cve/CVE-2020-3350
  • web
    https://www.suse.com/security/cve/CVE-2020-3481