CVE-2019-1786
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
CVE-2019-1786- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2019-10343
7.5
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
EUVD-2019-10343- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-gr4q-p783-ch2p
5.5
A vulnerability in the Portable Document Format (PDF) scanning functionality of Clam AntiVirus ...
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
GHSA-gr4q-p783-ch2p- CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-125
- Updated
- 2026-11-02
NVD
5.5
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
CVE-2019-1786- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-20, CWE-125
- Updated
- 2026-11-02
OSV
5.5
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
CVE-2019-1786- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-1786
5.5
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
DEBIAN-CVE-2019-1786- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2019-1786
5.5
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. The vulnerability is due to a lack of proper data handling mechanisms within the device buffer while indexing remaining file data on an affected device. An attacker could exploit this vulnerability by sending crafted PDF files to an affected device. A successful exploit could allow the attacker to cause an out-of-bounds read condition, resulting in a crash that could result in a denial of service condition on an affected device.
- Record
UBUNTU-CVE-2019-1786- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 3.0
- 5.5 Medium
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2020:2268-1 No score
Security update for clamav
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…
- Record
openSUSE-SU-2020:2268-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:2276-1 No score
Security update for clamav
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…
- Record
openSUSE-SU-2020:2276-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10685-1 No score
clamav-0.103.3-1.4 on GA media
These are all security issues fixed in the clamav-0.103.3-1.4 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10685-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:3790-1 No score
Security update for clamav
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…
- Record
SUSE-SU-2020:3790-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
clamavDebian:12 |
before 0.101.2+dfsg-1 | 0.101.2+dfsg-1 |
clamavDebian:13 |
before 0.101.2+dfsg-1 | 0.101.2+dfsg-1 |
clamavDebian:14 |
before 0.101.2+dfsg-1 | 0.101.2+dfsg-1 |
clamavSUSE:Linux Enterprise Module for Basesystem 15 SP1 From an advisory covering 14 CVEs |
before 0.103.0-3.23.1 | 0.103.0-3.23.1 |
clamavSUSE:Linux Enterprise Module for Basesystem 15 SP2 From an advisory covering 14 CVEs |
before 0.103.0-3.23.1 | 0.103.0-3.23.1 |
clamavopenSUSE:Leap 15.1 From an advisory covering 14 CVEs |
before 0.103.0-lp151.2.12.1 | 0.103.0-lp151.2.12.1 |
clamavopenSUSE:Leap 15.2 From an advisory covering 14 CVEs |
before 0.103.0-lp152.6.3.1 | 0.103.0-lp152.6.3.1 |
clamavopenSUSE:Tumbleweed From an advisory covering 55 CVEs |
before 0.103.3-1.4 | 0.103.3-1.4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-1786 is a high vulnerability (CVSS 7.5) in Cisco Clamav, published April 8, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.49%, the 74th percentile. Fixed in clamav 0.101.2+dfsg-1.
References
bugs.chromium.org/p/oss-fuzz/issues/detail?id=12149
bugs.chromium.org/p/oss-fuzz/issues/detail?id=12168
security.gentoo.org/glsa/201904-12
nvd.nist.gov/vuln/detail/CVE-2019-1786
github.com/advisories/GHSA-gr4q-p783-ch2p
security-tracker.debian.org/tracker/CVE-2019-1786
Show 67 moreShow less
suse.com/support/update/announcement/2020/suse-su-20203790-1
bugzilla.suse.com/1104457
bugzilla.suse.com/1118459
bugzilla.suse.com/1130721
bugzilla.suse.com/1144504
bugzilla.suse.com/1149458
bugzilla.suse.com/1157763
suse.com/security/cve/CVE-2019-12625
suse.com/security/cve/CVE-2019-12900
suse.com/security/cve/CVE-2019-15961
suse.com/security/cve/CVE-2019-1785
suse.com/security/cve/CVE-2019-1786
suse.com/security/cve/CVE-2019-1787
suse.com/security/cve/CVE-2019-1788
suse.com/security/cve/CVE-2019-1789
suse.com/security/cve/CVE-2019-1798
suse.com/security/cve/CVE-2020-3123
suse.com/security/cve/CVE-2020-3327
suse.com/security/cve/CVE-2020-3341
suse.com/security/cve/CVE-2020-3350
suse.com/security/cve/CVE-2020-3481
ubuntu.com/security/CVE-2019-1786
blog.clamav.net/2019/03/clamav-01012-and-01003-patches-have.html
cve.org/CVERecord?id=CVE-2019-1786
lists.opensuse.org/archives/list/[email protected]/thread/GAR55SQV75RXSJVDKQWD4CZNKDOYFY5P
lists.opensuse.org/archives/list/[email protected]/thread/DHFME6EFDMW6BQBIYMTU3MBXQLVR7QTK
suse.com/security/cve/CVE-2005-3239
suse.com/security/cve/CVE-2005-3303
suse.com/security/cve/CVE-2006-1614
suse.com/security/cve/CVE-2006-1989
suse.com/security/cve/CVE-2006-4182
suse.com/security/cve/CVE-2006-5874
suse.com/security/cve/CVE-2007-0897
suse.com/security/cve/CVE-2007-0898
suse.com/security/cve/CVE-2007-1745
suse.com/security/cve/CVE-2007-1997
suse.com/security/cve/CVE-2007-6335
suse.com/security/cve/CVE-2007-6336
suse.com/security/cve/CVE-2007-6337
suse.com/security/cve/CVE-2007-6595
suse.com/security/cve/CVE-2007-6596
suse.com/security/cve/CVE-2008-0318
suse.com/security/cve/CVE-2008-0728
suse.com/security/cve/CVE-2008-1100
suse.com/security/cve/CVE-2008-2713
suse.com/security/cve/CVE-2010-1205
suse.com/security/cve/CVE-2012-6706
suse.com/security/cve/CVE-2017-11423
suse.com/security/cve/CVE-2017-12374
suse.com/security/cve/CVE-2017-12375
suse.com/security/cve/CVE-2017-12376
suse.com/security/cve/CVE-2017-12377
suse.com/security/cve/CVE-2017-12378
suse.com/security/cve/CVE-2017-12379
suse.com/security/cve/CVE-2017-12380
suse.com/security/cve/CVE-2017-6418
suse.com/security/cve/CVE-2017-6419
suse.com/security/cve/CVE-2017-6420
suse.com/security/cve/CVE-2018-0202
suse.com/security/cve/CVE-2018-0360
suse.com/security/cve/CVE-2018-0361
suse.com/security/cve/CVE-2018-1000085
suse.com/security/cve/CVE-2018-14680
suse.com/security/cve/CVE-2018-15378
suse.com/security/cve/CVE-2021-1252
suse.com/security/cve/CVE-2021-1404
suse.com/security/cve/CVE-2021-1405
Left out here: the rest of 3 source descriptions. The JSON record has them.