CVE-2021-3500
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument...
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
CVE-2021-3500- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
CVE-2021-3500- Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2021-26820 No score
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
EUVD-2021-26820- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-5h3c-qqwc-xg6r
7.8
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument...
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
GHSA-5h3c-qqwc-xg6r- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-119, CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-3500
7.8
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
ALPINE-CVE-2021-3500- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
OSV
7.8
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
CVE-2021-3500- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 13 moreShow less
OSVDEBIAN-CVE-2021-3500
7.8
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
DEBIAN-CVE-2021-3500- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVOESA-2021-1255
7.8
djvulibre security update
DjVu is a set of compression technologies, a file format, and a software platform for the deliveryover the Web of digital documents, scanned documents, and high resolution images.DjVu documents download and display extremely quickly, and look exactly the same on all platforms with no compatibility problems due to fonts, colors, etc. DjVu can be seen as a superior alternative to PDF and PostScript for digital documents, to TIFF (and PDF) for scanned bitonal documents, to JPEG and JPEG2000 for photographs and pictures, and to GIF for large palettized images. DjVu is the only Web format that is practical for distributing high-resolution scanned documents in color.
Security Fix(es):
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.(CVE-2021-3500)
A flaw was found in djvulibre-3.5.28 and earlier. A heap buffer overflow in function DJVU::GBitmap::decode() via crafted djvu file may lead to application crash and other consequences.(CVE-2021-32493)
A flaw was found in djvulibre-3.5.28 and earlier. An out of bounds write in function DJVU::filter_bv() via crafted djvu file may lead to application crash and other consequences.(CVE-2021-32490)
A flaw was found in djvulibre-3.5.28 and earlier. An integer overflow in function render() in tools/ddjvu via crafted djvu file may lead to application crash and other consequences.(CVE-2021-32491)
A flaw was found in djvulibre-3.5.28 and earlier. An out of bounds read in function DJVU::DataPool::has_data() via crafted djvu file may lead to application crash and other consequences.(CVE-2021-32492)
- Record
OESA-2021-1255- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-3500
7.8
A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.
- Record
UBUNTU-CVE-2021-3500- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2021-0247 No score
Updated djvulibre packages fix security vulnerabilities
Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file. (CVE-2021-3500).
Out of bounds write in function DJVU::filter_bv() via crafted djvu file. (CVE-2021-32490).
Integer overflow in function render() in tools/ddjvu via crafted djvu file. (CVE-2021-32491)
Out of bounds read in function DJVU::DataPool::has_data() via crafted djvu file. (CVE-2021-32492).
Heap buffer overflow in function DJVU::GBitmap::decode() via crafted djvu file. (CVE-2021-32493).
- Record
MGASA-2021-0247- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:0877-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3500: Stack overflow in function DJVU:DjVuDocument:get_djvu_file() via crafted djvu file (bsc#1186253)
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:0877-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:1948-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3500: Stack overflow in function DJVU:DjVuDocument:get_djvu_file() via crafted djvu file (bsc#1186253)
- Record
openSUSE-SU-2021:1948-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10719-1 No score
djvulibre-3.5.28-3.2 on GA media
These are all security issues fixed in the djvulibre-3.5.28-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10719-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:14738-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3500: Stack overflow in function DJVU:DjVuDocument:get_djvu_file() via crafted djvu file (bsc#1186253)
- Record
SUSE-SU-2021:14738-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1813-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3500: Stack overflow in function DJVU:DjVuDocument:get_djvu_file() via crafted djvu file (bsc#1186253)
- Record
SUSE-SU-2021:1813-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1857-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3500: Stack overflow in function DJVU:DjVuDocument:get_djvu_file() via crafted djvu file (bsc#1186253)
- Record
SUSE-SU-2021:1857-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:1948-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3500: Stack overflow in function DJVU:DjVuDocument:get_djvu_file() via crafted djvu file (bsc#1186253)
- Record
SUSE-SU-2021:1948-1- Updated
- 2026-11-02
OSVUSN-4957-1 No score
djvulibre vulnerabilities
It was discovered that DjVuLibre incorrectly handled certain memory operations. If a user or automated system were tricked into processing a specially crafted DjVu file, a remote attacker could cause applications to hang or crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-4957-1- Updated
- 2026-11-02
OSVUSN-4957-2 No score
djvulibre vulnerabilities
USN-4957-1 fixed several vulnerabilities in DjVuLibre. This update provides the corresponding update for Ubuntu 16.04 ESM.
Original advisory details:
It was discovered that DjVuLibre incorrectly handled certain memory operations. If a user or automated system were tricked into processing a specially crafted DjVu file, a remote attacker could cause applications to hang or crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-4957-2- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
djvulibreAlpine:v3.14 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.15 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.16 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.17 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.18 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.19 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.20 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.21 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.22 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreAlpine:v3.23 |
before 3.5.28-r1 | 3.5.28-r1 |
Show 51 moreShow less
| Package | Affected | Fixed |
|---|---|---|
djvulibreAlpine:v3.24 |
before 3.5.28-r1 | 3.5.28-r1 |
djvulibreDebian:12 |
before 3.5.28-2 | 3.5.28-2 |
djvulibreDebian:13 |
before 3.5.28-2 | 3.5.28-2 |
djvulibreDebian:14 |
before 3.5.28-2 | 3.5.28-2 |
djvulibreDebian:9 From an advisory covering 10 CVEs |
before 3.5.27.1-7+deb9u1, plus listed versions 3.5.27.1-7 |
3.5.27.1-7+deb9u1 |
djvulibreDebian:10 From an advisory covering 11 CVEs |
before 3.5.27.1-10+deb10u1, plus listed versions 3.5.27.1-10 |
3.5.27.1-10+deb10u1 |
djvulibreMageia:7 From an advisory covering 5 CVEs |
before 3.5.27-5.2.mga7 | 3.5.27-5.2.mga7 |
djvulibreMageia:8 From an advisory covering 5 CVEs |
before 3.5.28-1.1.mga8 | 3.5.28-1.1.mga8 |
djvulibreopenEuler:20.03-LTS-SP1 From an advisory covering 5 CVEs |
before 3.5.27-16.oe1 | 3.5.27-16.oe1 |
djvulibreSUSE:Linux Enterprise Point of Sale 11 SP3 |
before 3.5.21-3.12.1 | 3.5.21-3.12.1 |
djvulibreSUSE:Linux Enterprise Server 11 SP4-LTSS |
before 3.5.21-3.12.1 | 3.5.21-3.12.1 |
djvulibreSUSE:HPE Helion OpenStack 8 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:OpenStack Cloud 8 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:OpenStack Cloud 9 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:OpenStack Cloud Crowbar 8 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:OpenStack Cloud Crowbar 9 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server 12 SP2-BCL |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server 12 SP3-BCL |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server 12 SP5 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 3.5.25.3-5.12.1 | 3.5.25.3-5.12.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise Server 15-LTSS |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise Server 15 SP1-BCL |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 15 |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Manager Proxy 4.0 |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Manager Retail Branch Server 4.0 |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Manager Server 4.0 |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Enterprise Storage 6 |
before 3.5.27-3.14.1 | 3.5.27-3.14.1 |
djvulibreSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 3.5.27-11.6.1 | 3.5.27-11.6.1 |
djvulibreSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 3.5.27-11.6.1 | 3.5.27-11.6.1 |
djvulibreSUSE:Linux Enterprise Module for Package Hub 15 SP2 |
before 3.5.27-11.6.1 | 3.5.27-11.6.1 |
djvulibreSUSE:Linux Enterprise Module for Package Hub 15 SP3 |
before 3.5.27-11.6.1 | 3.5.27-11.6.1 |
djvulibreUbuntu:Pro:16.04:LTS |
before 3.5.27.1-5ubuntu0.1+esm1, plus listed versions 3.5.27.1-33.5.27.1-43.5.27.1-53.5.27.1-5ubuntu0.1 |
3.5.27.1-5ubuntu0.1+esm1 |
djvulibreUbuntu:18.04:LTS |
before 3.5.27.1-8ubuntu0.3, plus listed versions 3.5.27.1-73.5.27.1-83.5.27.1-8ubuntu0.13.5.27.1-8ubuntu0.2 |
3.5.27.1-8ubuntu0.3 |
djvulibreUbuntu:20.04:LTS |
before 3.5.27.1-14ubuntu0.1, plus listed versions 3.5.27.1-133.5.27.1-13ubuntu13.5.27.1-143.5.27.1-14build1 |
3.5.27.1-14ubuntu0.1 |
djvulibreUbuntu:18.04:LTS From an advisory covering 5 CVEs |
before 3.5.27.1-8ubuntu0.3, plus listed versions 3.5.27.1-73.5.27.1-83.5.27.1-8ubuntu0.13.5.27.1-8ubuntu0.2 |
3.5.27.1-8ubuntu0.3 |
djvulibreUbuntu:20.04:LTS From an advisory covering 5 CVEs |
before 3.5.27.1-14ubuntu0.1, plus listed versions 3.5.27.1-133.5.27.1-13ubuntu13.5.27.1-143.5.27.1-14build1 |
3.5.27.1-14ubuntu0.1 |
djvulibreUbuntu:Pro:16.04:LTS From an advisory covering 5 CVEs |
before 3.5.27.1-5ubuntu0.1+esm1, plus listed versions 3.5.27.1-33.5.27.1-43.5.27.1-53.5.27.1-5ubuntu0.1 |
3.5.27.1-5ubuntu0.1+esm1 |
djvulibreopenSUSE:Leap 15.2 |
before 3.5.27-lp152.7.6.1 | 3.5.27-lp152.7.6.1 |
djvulibreopenSUSE:Leap 15.3 |
before 3.5.27-11.6.1 | 3.5.27-11.6.1 |
djvulibreopenSUSE:Tumbleweed From an advisory covering 10 CVEs |
before 3.5.28-3.2 | 3.5.28-3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected, aliases, references | OSV | |
| aliases, products | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-3500 is a high vulnerability (CVSS 7.8) in Djvulibre Project Djvulibre, published April 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.91%, the 60th percentile. Fixed in djvulibre 3.5.28-r1.
References
bugzilla.redhat.com/show_bug.cgi?id=1943685
debian.org/security/2021/dsa-5032
nvd.nist.gov/vuln/detail/CVE-2021-3500
github.com/advisories/GHSA-5h3c-qqwc-xg6r
security.alpinelinux.org/vuln/CVE-2021-3500
security-tracker.debian.org/tracker/CVE-2021-3500
Show 34 moreShow less
advisories.mageia.org/MGASA-2021-0247.html
bugs.mageia.org/show_bug.cgi?id=29000
debian.org/lts/security/2021/dla-2667
ubuntu.com/security/notices/USN-4957-1
lists.fedoraproject.org/archives/list/[email protected]/thread/AFBA3B7ZE5WL3W3IC3SJOZLTIMZPKXES
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1255
nvd.nist.gov/vuln/detail/CVE-2021-32493
nvd.nist.gov/vuln/detail/CVE-2021-32490
nvd.nist.gov/vuln/detail/CVE-2021-32491
nvd.nist.gov/vuln/detail/CVE-2021-32492
suse.com/support/update/announcement/2021/suse-su-202114738-1
bugzilla.suse.com/1186253
suse.com/security/cve/CVE-2021-3500
suse.com/support/update/announcement/2021/suse-su-20211813-1
suse.com/support/update/announcement/2021/suse-su-20211857-1
suse.com/support/update/announcement/2021/suse-su-20211948-1
ubuntu.com/security/CVE-2021-3500
ubuntu.com/security/notices/USN-4957-2
cve.org/CVERecord?id=CVE-2021-3500
ubuntu.com/security/CVE-2021-32490
ubuntu.com/security/CVE-2021-32491
ubuntu.com/security/CVE-2021-32492
ubuntu.com/security/CVE-2021-32493
lists.opensuse.org/archives/list/[email protected]/thread/6A76FJWCYCAB3L3OPKMXF4E37JBFGCKH
lists.opensuse.org/archives/list/[email protected]/thread/N4FJJNOEZPW7IPJGLCW6LJNTZX7JZBBT
suse.com/security/cve/CVE-2019-15142
suse.com/security/cve/CVE-2019-15143
suse.com/security/cve/CVE-2019-15144
suse.com/security/cve/CVE-2019-15145
suse.com/security/cve/CVE-2019-18804
suse.com/security/cve/CVE-2021-32490
suse.com/security/cve/CVE-2021-32491
suse.com/security/cve/CVE-2021-32492
suse.com/security/cve/CVE-2021-32493