CVE-2021-3630
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in...
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
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
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
CVE-2021-3630- 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 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:N/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
CVE List No score
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
CVE-2021-3630- Weakness
- CWE-787
- Updated
- 2026-11-02
EUVDEUVD-2021-26932 No score
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
EUVD-2021-26932- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-mpc3-cw77-gc2f
5.5
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in...
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
GHSA-mpc3-cw77-gc2f- 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 - Weakness
- CWE-787
- Updated
- 2026-11-02
OSVALPINE-CVE-2021-3630
5.5
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
ALPINE-CVE-2021-3630- 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-03
OSV
5.5
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
CVE-2021-3630- 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 12 moreShow less
OSVDEBIAN-CVE-2021-3630
5.5
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
DEBIAN-CVE-2021-3630- 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
OSVOESA-2021-1266
5.5
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):
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.(CVE-2021-3630)
- Record
OESA-2021-1266- 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
OSVUBUNTU-CVE-2021-3630
5.5
An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.
- Record
UBUNTU-CVE-2021-3630- 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
OSVopenSUSE-SU-2021:1112-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3630: out-of-bounds write in DJVU:DjVuTXT:decode() in DjVuText.cpp (bsc#1187869)
This update was imported from the SUSE:SLE-15-SP2:Update update project.
- Record
openSUSE-SU-2021:1112-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2021:2619-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3630: out-of-bounds write in DJVU:DjVuTXT:decode() in DjVuText.cpp (bsc#1187869)
- Record
openSUSE-SU-2021:2619-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12946-1 No score
djvulibre-3.5.28-5.1 on GA media
These are all security issues fixed in the djvulibre-3.5.28-5.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12946-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:14761-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3630: out-of-bounds write in DJVU:DjVuTXT:decode() in DjVuText.cpp (bsc#1187869)
- Record
SUSE-SU-2021:14761-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:14773-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- Extend CVE-2021-3630 fix (bsc#1187869).
- Record
SUSE-SU-2021:14773-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2619-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3630: out-of-bounds write in DJVU:DjVuTXT:decode() in DjVuText.cpp (bsc#1187869)
- Record
SUSE-SU-2021:2619-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2621-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3630: out-of-bounds write in DJVU:DjVuTXT:decode() in DjVuText.cpp (bsc#1187869)
- Record
SUSE-SU-2021:2621-1- Updated
- 2026-11-02
OSVSUSE-SU-2021:2796-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2021-3630: out-of-bounds write in DJVU:DjVuTXT:decode() in DjVuText.cpp (bsc#1187869)
- Record
SUSE-SU-2021:2796-1- Updated
- 2026-11-02
OSVUSN-5005-1 No score
djvulibre vulnerability
It was discovered that DjVuLibre incorrectly handled certain djvu files. An attacker could possibly use this issue to execute arbitrary code or cause a crash.
- Record
USN-5005-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
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 |
djvulibreAlpine:v3.24 |
before 3.5.28-r1 | 3.5.28-r1 |
Show 45 moreShow less
| Package | Affected | Fixed |
|---|---|---|
djvulibreDebian:12 |
before 3.5.27.1-12 | 3.5.27.1-12 |
djvulibreDebian:13 |
before 3.5.27.1-12 | 3.5.27.1-12 |
djvulibreDebian:14 |
before 3.5.27.1-12 | 3.5.27.1-12 |
djvulibreDebian:9 |
before 3.5.27.1-7+deb9u2, plus listed versions 3.5.27.1-73.5.27.1-7+deb9u1 |
3.5.27.1-7+deb9u2 |
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 |
djvulibreopenEuler:20.03-LTS-SP1 |
before 3.5.27-17.oe1 | 3.5.27-17.oe1 |
djvulibreSUSE:Linux Enterprise Point of Sale 11 SP3 |
before 3.5.21-3.15.1 | 3.5.21-3.15.1 |
djvulibreSUSE:Linux Enterprise Server 11 SP4-LTSS |
before 3.5.21-3.15.1 | 3.5.21-3.15.1 |
djvulibreSUSE:Linux Enterprise Point of Sale 11 SP3 |
before 3.5.21-3.18.1 | 3.5.21-3.18.1 |
djvulibreSUSE:Linux Enterprise Server 11 SP4-LTSS |
before 3.5.21-3.18.1 | 3.5.21-3.18.1 |
djvulibreSUSE:Linux Enterprise Module for Desktop Applications 15 SP2 |
before 3.5.27-11.11.1 | 3.5.27-11.11.1 |
djvulibreSUSE:Linux Enterprise Module for Desktop Applications 15 SP3 |
before 3.5.27-11.11.1 | 3.5.27-11.11.1 |
djvulibreSUSE:Linux Enterprise Module for Package Hub 15 SP2 |
before 3.5.27-11.11.1 | 3.5.27-11.11.1 |
djvulibreSUSE:Linux Enterprise Module for Package Hub 15 SP3 |
before 3.5.27-11.11.1 | 3.5.27-11.11.1 |
djvulibreSUSE:HPE Helion OpenStack 8 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:OpenStack Cloud 8 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:OpenStack Cloud 9 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:OpenStack Cloud Crowbar 8 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:OpenStack Cloud Crowbar 9 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 12 SP3 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 12 SP4 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Software Development Kit 12 SP5 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server 12 SP2-BCL |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server 12 SP3-LTSS |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server 12 SP3-BCL |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server 12 SP4-LTSS |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server 12 SP5 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 12 SP5 |
before 3.5.25.3-5.19.2 | 3.5.25.3-5.19.2 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15-ESPOS |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15-LTSS |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise Server 15-LTSS |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise Server 15 SP1-BCL |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise Server 15 SP1-LTSS |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 15 |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Linux Enterprise Server for SAP Applications 15 SP1 |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Manager Proxy 4.0 |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Manager Retail Branch Server 4.0 |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Manager Server 4.0 |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreSUSE:Enterprise Storage 6 |
before 3.5.27-3.19.1 | 3.5.27-3.19.1 |
djvulibreUbuntu:Pro:16.04:LTS |
before 3.5.27.1-5ubuntu0.1+esm2, plus listed versions 3.5.27.1-33.5.27.1-43.5.27.1-53.5.27.1-5ubuntu0.13.5.27.1-5ubuntu0.1+esm1 |
3.5.27.1-5ubuntu0.1+esm2 |
djvulibreUbuntu:18.04:LTS |
before 3.5.27.1-8ubuntu0.4, plus listed versions 3.5.27.1-73.5.27.1-83.5.27.1-8ubuntu0.13.5.27.1-8ubuntu0.23.5.27.1-8ubuntu0.3 |
3.5.27.1-8ubuntu0.4 |
djvulibreopenSUSE:Leap 15.2 |
before 3.5.27-lp152.7.9.1 | 3.5.27-lp152.7.9.1 |
djvulibreopenSUSE:Leap 15.3 |
before 3.5.27-11.11.1 | 3.5.27-11.11.1 |
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-3630 is a medium vulnerability (CVSS 5.5) in Djvulibre Project Djvulibre, published June 30, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.01%, the 63rd percentile. Fixed in djvulibre 3.5.28-r1.
References
bugzilla.redhat.com/show_bug.cgi?id=1977427
lists.debian.org/debian-lts-announce/2021/07/msg00002.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XVKYWV4P5XGA3FXKGFB443MKC32L7YQB
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q3B4QZCICPZRDXA2HOIACSQNZB2VEHSM
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CIZIAJWGKI26DKDOGJS7J7CIQGHHMIHG
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7MRXCW4BUGAJLGF6IWQWUZ2YBICMZCPK
Show 24 moreShow less
debian.org/security/2021/dsa-5032
nvd.nist.gov/vuln/detail/CVE-2021-3630
lists.fedoraproject.org/archives/list/[email protected]/message/7MRXCW4BUGAJLGF6IWQWUZ2YBICMZCPK
lists.fedoraproject.org/archives/list/[email protected]/message/CIZIAJWGKI26DKDOGJS7J7CIQGHHMIHG
lists.fedoraproject.org/archives/list/[email protected]/message/Q3B4QZCICPZRDXA2HOIACSQNZB2VEHSM
lists.fedoraproject.org/archives/list/[email protected]/message/XVKYWV4P5XGA3FXKGFB443MKC32L7YQB
github.com/advisories/GHSA-mpc3-cw77-gc2f
security.alpinelinux.org/vuln/CVE-2021-3630
security-tracker.debian.org/tracker/CVE-2021-3630
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1266
suse.com/support/update/announcement/2021/suse-su-202114761-1
bugzilla.suse.com/1187869
suse.com/security/cve/CVE-2021-3630
suse.com/support/update/announcement/2021/suse-su-202114773-1
suse.com/support/update/announcement/2021/suse-su-20212619-1
suse.com/support/update/announcement/2021/suse-su-20212621-1
suse.com/support/update/announcement/2021/suse-su-20212796-1
ubuntu.com/security/CVE-2021-3630
sourceforge.net/p/djvu/bugs/302
sourceforge.net/p/djvu/djvulibre-git/ci/7b0ef20690e08f1fe124aebbf42f6310e2f40f81
ubuntu.com/security/notices/USN-5005-1
cve.org/CVERecord?id=CVE-2021-3630
lists.opensuse.org/archives/list/[email protected]/thread/NS5SRA6CXGTX6C5SHQQRIPVMUAZ326KY
lists.opensuse.org/archives/list/[email protected]/thread/ZTM6WP5W5E6E2WSTHST5KAOESVI2S47B