Cloudanix VulnDB

CVE-2021-32490

High · 7.8

CVSS

7.8

EPSS

0.8%

Published

Jun 24, 2021

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A bug in software that reads certain image files can let a specially made file crash the program or take over the computer when someone opens it.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Full Compromise
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds write in DJVU::filter_bv() triggered by a crafted DJVU file, resulting in memory corruption that can cause application crashes or arbitrary code execution.

Why it matters to the business

Systems that process untrusted DJVU files may experience application failures or full compromise, disrupting document workflows and requiring emergency incident response; the issue affects widely distributed packages but shows low current exploitation probability.

How an attack unfolds

An attacker crafts a malicious DJVU file that triggers the out-of-bounds write when processed by vulnerable djvulibre code; the file is delivered via email, web download, or shared storage, and execution occurs when a user or automated process opens it locally with an affected viewer or library.

How to fix it

Upgrade djvulibre to a version newer than 3.5.28 that contains the fix for the filter_bv out-of-bounds write; on Debian systems apply the latest available package updates; disable DJVU processing or use alternative libraries where upgrades are not feasible.

How to confirm the fix worked

Confirm djvulibre version is newer than 3.5.28 and test processing of known-good and known-bad sample files; review package changelogs for the filter_bv correction and run regression tests on document handling pipelines.

Typical attack path

  1. Craft malicious DJVU file exploiting filter_bv bounds check failure
  2. Deliver file to target via common channels such as email attachment or download link
  3. Victim opens the file using vulnerable djvulibre-based application
  4. Memory corruption occurs, potentially leading to crash or code execution

How to detect it

Search application and system logs for crashes or segmentation faults occurring immediately after DJVU file access; inspect process memory dumps or core files for evidence of corruption around filter_bv operations; correlate file-open events with subsequent abnormal behavior.

What your security team should do

  • Prioritize patching djvulibre on all systems that handle untrusted DJVU content
  • Block or sandbox DJVU file processing until updates are applied
  • Monitor for new fixed package releases in Debian and upstream repositories
  • Review and reduce reliance on the DJVU format in document workflows

The record

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.

Affected packages

Ecosystem Package Introduced Fixed
Debian:10 djvulibre 0 3.5.27.1-10+deb10u1
Debian:11 djvulibre 0 3.5.28-2
Debian:12 djvulibre 0 3.5.28-2
Debian:13 djvulibre 0 3.5.28-2
Debian:9 djvulibre 0 3.5.27.1-7+deb9u1
Mageia:7 djvulibre 0 3.5.27-5.2.mga7
Mageia:8 djvulibre 0 3.5.28-1.1.mga8
SUSE:Enterprise Storage 6 djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP2 djvulibre 0 3.5.27-11.3.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 djvulibre 0 3.5.27-11.3.1
SUSE:Linux Enterprise Module for Package Hub 15 SP2 djvulibre 0 3.5.27-11.3.1
SUSE:Linux Enterprise Module for Package Hub 15 SP3 djvulibre 0 3.5.27-11.3.1
SUSE:Linux Enterprise Server 12 SP5 djvulibre 0 3.5.25.3-5.22.1
SUSE:Linux Enterprise Server 15 SP1-BCL djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise Server 15 SP1-LTSS djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise Server 15-LTSS djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 djvulibre 0 3.5.25.3-5.22.1
SUSE:Linux Enterprise Server for SAP Applications 15 djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 djvulibre 0 3.5.27-3.11.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 djvulibre 0 3.5.25.3-5.22.1
SUSE:Manager Proxy 4.0 djvulibre 0 3.5.27-3.11.1
SUSE:Manager Retail Branch Server 4.0 djvulibre 0 3.5.27-3.11.1
SUSE:Manager Server 4.0 djvulibre 0 3.5.27-3.11.1
Ubuntu:18.04:LTS djvulibre 0 3.5.27.1-8ubuntu0.3
Ubuntu:20.04:LTS djvulibre 0 3.5.27.1-14ubuntu0.1
Ubuntu:Pro:16.04:LTS djvulibre 0 3.5.27.1-5ubuntu0.1+esm1
openSUSE:Leap 15.2 djvulibre 0 3.5.27-lp152.7.3.1
openSUSE:Leap 15.3 djvulibre 0 3.5.27-11.3.1
openSUSE:Tumbleweed djvulibre 0 3.5.28-3.2

Related vulnerabilities