Skip to content
OpenAdvisories
High · 8.4 Public exploit CVE-2025-53367 EUVD-2025-19908

DjVuLibre OOB-Write Vulnerability in MMRDecoder

Published Jul 3, 2025 · Updated Nov 4, 2025 · Assigned by GitHub_M

Description

DjVuLibre is a GPL implementation of DjVu, a web-centric format for distributing documents and images. Prior to version 3.5.29, the MMRDecoder::scanruns method is affected by an OOB-write vulnerability, because it does not check that the xr pointer stays within the bounds of the allocated buffer. This can lead to writes beyond the allocated memory, resulting in a heap corruption condition. An out-of-bounds read with pr is also possible for the same reason. This issue has been patched in version 3.5.29.

Affected products

VendorProductAffectedFixed
DjvuNet DjVuLibre < 3.5.29 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 djvulibre 3.5.28-2.1 —
Debian 13 djvulibre 3.5.28-2.1 —
Debian 12 djvulibre 3.5.28-2.1~deb12u1 DSA-5960-1
Debian 11 djvulibre 3.5.28-2.2~deb11u1 DLA-4247-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS djvulibre 3.5.28-2ubuntu0.24.04.1 USN-7631-1
Ubuntu 22.04 LTS djvulibre 3.5.28-2ubuntu0.22.04.1 USN-7631-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS djvulibre 3.5.27.1-14ubuntu0.1+esm1 —
Ubuntu Pro 18.04 LTS djvulibre 3.5.27.1-8ubuntu0.4+esm1 —
Ubuntu Pro 16.04 LTS djvulibre 3.5.27.1-5ubuntu0.1+esm3 —
ReleasePackageFixed inAdvisory
SLES 15 SP7 djvulibre 3.5.27-150200.11.17.1 SUSE-SU-2025:02703-1
SLES 15 SP6 djvulibre 3.5.27-150200.11.17.1 SUSE-SU-2025:02703-1
SLES 12 SP5 djvulibre 3.5.25.3-5.25.1 SUSE-SU-2025:02695-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed djvulibre 3.5.29-1.1 openSUSE-SU-2025:15319-1
openSUSE Leap 15.6 djvulibre 3.5.27-150200.11.17.1 SUSE-SU-2025:02703-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 6

References