CVE-2021-32493 Memory corruption in djvulibre

High 7.8 Published Updated

A heap buffer overflow in the djvulibre library allows attackers to cause application crashes or potentially execute code via crafted DjVu 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-32493?

CVE-2021-32493 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 heap buffer overflow in function DJVU::GBitmap::decode() via crafted djvu file may lead to application crash and other consequences.

Weakness: CWE-787, CWE-119

Which versions are affected by CVE-2021-32493?

It affects 2 products.

Products include Debian Debian Linux, Djvulibre Project Djvulibre.

How do I fix CVE-2021-32493?

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-32493 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2023-PV22404, DEBIAN-CVE-2021-32493, GHSA-8pcw-jr9p-76hj, UBUNTU-CVE-2021-32493.

Is CVE-2021-32493 in your software?

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

Check your SBOMs for free