CVE-2021-3500 Memory corruption in djvulibre

High 7.8 Published Updated

A stack overflow in the DjVu library allows attackers to cause a crash or potentially execute code via crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3500?

CVE-2021-3500 is a high-severity memory corruption vulnerability in Debian Debian Linux, published on 24 Jun 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-787

Which versions are affected by CVE-2021-3500?

It affects 2 products.

Linux distribution packages (35)
djvulibre SUSE:Enterprise Storage 6All versions3.5.27-3.14.1
djvulibre SUSE:HPE Helion OpenStack 8All versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise Module for Desktop Applications 15 SP2All versions3.5.27-11.6.1
djvulibre SUSE:Linux Enterprise Module for Desktop Applications 15 SP3All versions3.5.27-11.6.1
djvulibre SUSE:Linux Enterprise Module for Package Hub 15 SP2All versions3.5.27-11.6.1
djvulibre SUSE:Linux Enterprise Module for Package Hub 15 SP3All versions3.5.27-11.6.1
djvulibre SUSE:Linux Enterprise Point of Sale 11 SP3All versions3.5.21-3.12.1
djvulibre SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions3.5.21-3.12.1
djvulibre SUSE:Linux Enterprise Server 12 SP2-BCLAll versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server 12 SP3-BCLAll versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server 12 SP5All versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server 15 SP1-BCLAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise Server 15-LTSSAll versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions3.5.25.3-5.12.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 15All versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions3.5.27-3.14.1
djvulibre SUSE:Linux Enterprise Software Development Kit 12 SP5All versions3.5.25.3-5.12.1
djvulibre SUSE:Manager Proxy 4.0All versions3.5.27-3.14.1
djvulibre SUSE:Manager Retail Branch Server 4.0All versions3.5.27-3.14.1
djvulibre SUSE:Manager Server 4.0All versions3.5.27-3.14.1
djvulibre SUSE:OpenStack Cloud 8All versions3.5.25.3-5.12.1
djvulibre SUSE:OpenStack Cloud 9All versions3.5.25.3-5.12.1
djvulibre SUSE:OpenStack Cloud Crowbar 8All versions3.5.25.3-5.12.1
djvulibre SUSE:OpenStack Cloud Crowbar 9All versions3.5.25.3-5.12.1
djvulibre openSUSE:Leap 15.2All versions3.5.27-lp152.7.6.1
djvulibre openSUSE:Leap 15.3All versions3.5.27-11.6.1

Products include Debian Debian Linux, Djvulibre Project Djvulibre.

How do I fix CVE-2021-3500?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-3500 being exploited?

There is no known exploitation of CVE-2021-3500 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2023-UD90988, DEBIAN-CVE-2021-3500, GHSA-5h3c-qqwc-xg6r, SUSE-SU-2021:14738-1, SUSE-SU-2021:1813-1, SUSE-SU-2021:1857-1 and 4 more.

Is CVE-2021-3500 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free