Every CVE Search/ Get API key

CVE-2021-46312

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a...

6.5 MediumFix available

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.04%Up 1.0 points since Aug 25, 2023
90%50%10%1%

What each source reports

NVD Score used 6.5

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
CVE-2021-46312
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
CVE List No score

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
CVE-2021-46312
Updated
2026-11-02
EUVDEUVD-2021-33001 No score

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
EUVD-2021-33001
Updated
2026-11-02
GitHub AdvisoriesGHSA-mqm4-pwjf-gw24 6.5

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a...

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
GHSA-mqm4-pwjf-gw24
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-369
Updated
2026-11-02
OSV 6.5

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
CVE-2021-46312
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-46312 6.5

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
DEBIAN-CVE-2021-46312
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 8 moreShow less
OSVOESA-2023-1641 6.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 issue was discovered IW44Image.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.(CVE-2021-46310)

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.(CVE-2021-46312)

Record
OESA-2023-1641
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVROOT-OS-DEBIAN-12-CVE-2021-46312 6.5

CVE-2021-46312 in djvulibre - Patched by Root

Root has patched CVE-2021-46312 in the djvulibre package for Root:Debian:12. Multiple fixed versions available.

Record
ROOT-OS-DEBIAN-12-CVE-2021-46312
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-46312 6.5

An issue was discovered IW44EncodeCodec.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
UBUNTU-CVE-2021-46312
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2024-0183 No score

Updated djvulibre packages fix security vulnerabilities

An issue was discovered IW44Image.cpp in djvulibre 3.5.28 in allows attackers to cause a denial of service via divide by zero.

Record
MGASA-2024-0183
Updated
2026-11-02
OSVopenSUSE-SU-2024:13178-1 No score

djvulibre-3.5.28-6.1 on GA media

These are all security issues fixed in the djvulibre-3.5.28-6.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13178-1
Updated
2026-11-02
OSVSUSE-SU-2023:3520-1 No score

Security update for djvulibre

This update for djvulibre fixes the following issues:

  • CVE-2021-46310: Fixed divide by zero in IW44Image.cpp (bsc#1214670).
  • CVE-2021-46312: Fixed divide by zero in IW44EncodeCodec.cpp (bsc#1214672).
Record
SUSE-SU-2023:3520-1
Updated
2026-11-02
OSVSUSE-SU-2023:3755-1 No score

Security update for djvulibre

This update for djvulibre fixes the following issues:

  • CVE-2021-46310: Fixed divide by zero in IW44Image.cpp (bsc#1214670).
  • CVE-2021-46312: Fixed divide by zero in IW44EncodeCodec.cpp (bsc#1214672).
  • CVE-2021-32490: Fixed out of bounds write in function DJVU:filter_bv() via crafted djvu file (bsc#1185895).
Record
SUSE-SU-2023:3755-1
Updated
2026-11-02
OSVUSN-8054-1 No score

djvulibre vulnerabilities

It was discovered that DjVuLibre could be forced to execute a division by zero in certain instances. A remote attacker could possibly use this issue to cause applications to stop responding or crash, resulting in a denial of service. (CVE-2021-46312)

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 stop responding or crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2025-53367)

Record
USN-8054-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
djvulibre
Debian:12
before 3.5.28-2.2~deb12u1, plus listed versions
3.5.28-23.5.28-2.13.5.28-2.1~deb12u13.5.28-2.2~deb11u1
3.5.28-2.2~deb12u1
djvulibre
Debian:13
before 3.5.28-2.2
3.5.28-2.2
djvulibre
Debian:14
before 3.5.28-2.2
3.5.28-2.2
djvulibre
Debian:11
From an advisory covering 3 CVEs
before 3.5.28-2.2~deb11u1, plus listed versions
3.5.28-23.5.28-2.13.5.28-2.1~deb12u1
3.5.28-2.2~deb11u1
djvulibre
Mageia:9
From an advisory covering 2 CVEs
before 3.5.28-5.1.mga9
3.5.28-5.1.mga9
djvulibre
openEuler:20.03-LTS-SP1
From an advisory covering 2 CVEs
before 3.5.27-18.oe1
3.5.27-18.oe1
djvulibre
openEuler:20.03-LTS-SP3
From an advisory covering 2 CVEs
before 3.5.27-20.oe1
3.5.27-20.oe1
djvulibre
openEuler:22.03-LTS
From an advisory covering 2 CVEs
before 3.5.27-19.oe2203sp2
3.5.27-19.oe2203sp2
djvulibre
openEuler:22.03-LTS-SP1
From an advisory covering 2 CVEs
before 3.5.27-19.oe2203sp1
3.5.27-19.oe2203sp1
djvulibre
openEuler:22.03-LTS-SP2
From an advisory covering 2 CVEs
before 3.5.27-19.oe2203sp2
3.5.27-19.oe2203sp2
Show 15 moreShow less
Affected packages
PackageAffectedFixed
djvulibre
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4
From an advisory covering 2 CVEs
before 3.5.27-150200.11.14.1
3.5.27-150200.11.14.1
djvulibre
SUSE:Linux Enterprise Module for Desktop Applications 15 SP5
From an advisory covering 2 CVEs
before 3.5.27-150200.11.14.1
3.5.27-150200.11.14.1
djvulibre
SUSE:Linux Enterprise Module for Package Hub 15 SP4
From an advisory covering 2 CVEs
before 3.5.27-150200.11.14.1
3.5.27-150200.11.14.1
djvulibre
SUSE:Linux Enterprise Module for Package Hub 15 SP5
From an advisory covering 2 CVEs
before 3.5.27-150200.11.14.1
3.5.27-150200.11.14.1
djvulibre
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 3.5.27-150200.11.14.1
3.5.27-150200.11.14.1
djvulibre
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 3.5.27-150200.11.14.1
3.5.27-150200.11.14.1
djvulibre
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 3 CVEs
before 3.5.25.3-5.22.1
3.5.25.3-5.22.1
djvulibre
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 3 CVEs
before 3.5.25.3-5.22.1
3.5.25.3-5.22.1
djvulibre
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 3 CVEs
before 3.5.25.3-5.22.1
3.5.25.3-5.22.1
djvulibre
Ubuntu:Pro:16.04:LTS
before 3.5.27.1-5ubuntu0.1+esm3, 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+esm13.5.27.1-5ubuntu0.1+esm2
3.5.27.1-5ubuntu0.1+esm3
djvulibre
Ubuntu:Pro:18.04:LTS
before 3.5.27.1-8ubuntu0.4+esm1, 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.33.5.27.1-8ubuntu0.4
3.5.27.1-8ubuntu0.4+esm1
djvulibre
Ubuntu:Pro:20.04:LTS
before 3.5.27.1-14ubuntu0.1+esm1, plus listed versions
3.5.27.1-133.5.27.1-13ubuntu13.5.27.1-143.5.27.1-14build13.5.27.1-14ubuntu0.1
3.5.27.1-14ubuntu0.1+esm1
djvulibre
Ubuntu:22.04:LTS
before 3.5.28-2ubuntu0.22.04.2, plus listed versions
3.5.28-2build13.5.28-2build23.5.28-2ubuntu0.22.04.1
3.5.28-2ubuntu0.22.04.2
djvulibre
Ubuntu:24.04:LTS
before 3.5.28-2ubuntu0.24.04.2, plus listed versions
3.5.28-2build33.5.28-2build43.5.28-2ubuntu0.24.04.1
3.5.28-2ubuntu0.24.04.2
djvulibre
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 3.5.28-6.1
3.5.28-6.1

History

History
RecordedChangedSources
affected, facts
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-46312 is a medium vulnerability (CVSS 6.5) in Djvulibre Project Djvulibre, published August 22, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.04%, the 64th percentile. Fixed in djvulibre 3.5.28-2.2~deb12u1.

References

Show 21 moreShow less
MoveEnter Open