CVE-2025-53367 DjVuLibre OOB-Write Vulnerability in MMRDecoder
HighCVSS 8.4
EPSS 0.87%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/djvulibre(Debian 12) | < 3.5.28-2.1~deb12u1; = 3.5.28-2 | 3.5.28-2.1~deb12u1 | Fixed |
| debian/djvulibre(Debian 13) | < 3.5.28-2.1 | 3.5.28-2.1 | Fixed |
| debian/djvulibre(Debian 14) | < 3.5.28-2.1 | 3.5.28-2.1 | Fixed |
| ubuntu/djvulibre(Ubuntu 22.04) | < 3.5.28-2ubuntu0.22.04.1 | 3.5.28-2ubuntu0.22.04.1 | Fixed |
| ubuntu/djvulibre(Ubuntu 24.04) | < 3.5.28-2ubuntu0.24.04.1 | 3.5.28-2ubuntu0.24.04.1 | Fixed |
| DjvuNet DjVuLibre | = < 3.5.29 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/djvulibre(Debian:12) | < 3.5.28-2.1~deb12u1 | 3.5.28-2.1~deb12u1 |
| debian/djvulibre(Debian:12) | = 3.5.28-2 | No fix listed |
| debian/djvulibre(Debian:13) | < 3.5.28-2.1 | 3.5.28-2.1 |
| debian/djvulibre(Debian:14) | < 3.5.28-2.1 | 3.5.28-2.1 |
| DjvuNet DjVuLibre | = < 3.5.29 | No fix listed |
| ubuntu/djvulibre(Ubuntu:22.04) | < 3.5.28-2ubuntu0.22.04.1 | 3.5.28-2ubuntu0.22.04.1 |
| ubuntu/djvulibre(Ubuntu:24.04) | < 3.5.28-2ubuntu0.24.04.1 | 3.5.28-2ubuntu0.24.04.1 |
References
- Debian Security Tracker CVE-2025-53367 vendor-advisory
- 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 exploit
- 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
- lists.debian.org
- www.openwall.com
- www.openwall.com
- Ubuntu CVE tracker vendor-advisory
- USN-7631-1 vendor-advisory
- USN-8054-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking