CVE-2025-53367DjVuLibre OOB-Write Vulnerability in MMRDecoder
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | djvulibre | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | djvulibre | Fixed | 3.5.28-2ubuntu0.24.04.1 | UBUNTU-CVE-2025-53367 |
| Ubuntu 22.04 | djvulibre | Fixed | 3.5.28-2ubuntu0.22.04.1 | UBUNTU-CVE-2025-53367 |
| Ubuntu 20.04 | djvulibre | Fix pending | 3.5.27.1-14ubuntu0.1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-53367 |
| Ubuntu 18.04 | djvulibre | Fix pending | 3.5.27.1-8ubuntu0.4+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-53367 |
| Ubuntu 16.04 | djvulibre | Fix pending | 3.5.27.1-5ubuntu0.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-53367 |
| Debian 14 | djvulibre | Fixed | 3.5.28-2.1 | DEBIAN-CVE-2025-53367 |
| Debian 13 | djvulibre | Fixed | 3.5.28-2.1 | DEBIAN-CVE-2025-53367 |
| Debian 12 | djvulibre | Fixed | 3.5.28-2.1~deb12u1 | DEBIAN-CVE-2025-53367 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- DjvuNet DjVuLibre: affected: < 3.5.29
References
- https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/
- https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre
- https://github.com/github/securitylab/tree/main/SecurityExploits/DjVuLibre/MMRDecoder_scanruns_CVE-2025-53367
- https://sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da
- https://www.openwall.com/lists/oss-security/2025/07/03/1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.