Out-of-bounds write in DjVuLibre - CVE-2025-53367
Published: July 7, 2025
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a boundary error when processing untrusted input within the MMRDecoder::scanruns method. A remote attacker can create a specially crafted file, trick the victim into opening it using the affected software, trigger an out-of-bounds write and execute arbitrary code on the target system.
Affected software
Debian Linux
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Package Hub 15
Desktop Applications Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
djvulibre-debuginfo
libdjvulibre-devel
libdjvulibre21-debuginfo
libdjvulibre21
djvulibre-debugsource
djvulibre (Ubuntu package)
djvulibre-help
djvulibre
djvulibre-devel
djvulibre-doc
djvulibre (Debian package)
djvulibre-libs
mingw-djvulibre
How to mitigate CVE-2025-53367
djvulibre-debuginfo - addressed in versions 3.5.25.3-5.25.1, 3.5.27-150200.11.17.1
libdjvulibre-devel - addressed in versions 3.5.25.3-5.25.1, 3.5.27-150200.11.17.1
libdjvulibre21-debuginfo - addressed in versions 3.5.25.3-5.25.1, 3.5.27-150200.11.17.1
libdjvulibre21 - addressed in versions 3.5.25.3-5.25.1, 3.5.27-150200.11.17.1
djvulibre-debugsource - addressed in versions 3.5.25.3-5.25.1, 3.5.27-150200.11.17.1
djvulibre (Ubuntu package) - addressed in versions 3.5.27.1-5ubuntu0.1+esm3, 3.5.27.1-8ubuntu0.4+esm1, 3.5.27.1-14ubuntu0.1+esm1, 3.5.28-2ubuntu0.22.04.1, 3.5.28-2ubuntu0.22.04.2, 3.5.28-2ubuntu0.24.04.1, 3.5.28-2ubuntu0.24.04.2, 3.5.28-2ubuntu0.25.04.1
djvulibre-debuginfo - update to 3.5.27-20
djvulibre-help - update to 3.5.27-20
djvulibre - update to 3.5.27-20
djvulibre-debugsource - update to 3.5.27-20
djvulibre-devel - update to 3.5.27-20
djvulibre-doc - update to 3.5.27-150200.11.17.1
djvulibre - update to 3.5.27-150200.11.17.1
djvulibre (Debian package) - update to 3.5.28-2.1~deb12u1
djvulibre - update to 3.5.28-4
djvulibre-devel - update to 3.5.28-4
djvulibre-libs - update to 3.5.28-4
djvulibre-doc - update to 3.5.28-4
mingw-djvulibre - addressed in versions 3.5.29-1.fc41, 3.5.29-1.fc42
djvulibre - addressed in versions 3.5.30-1.fc42, 3.5.30-1.fc43, 3.5.30-1.fc44
External References
- https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre
- https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/
- https://sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da
- https://www.openwall.com/lists/oss-security/2025/07/03/1
Related Security Bulletins
- Remote code execution in DjVuLibre
- Fedora 42 update for mingw-djvulibre
- Fedora 41 update for mingw-djvulibre
- Debian update for djvulibre
- Ubuntu update for djvulibre
- openEuler update for djvulibre
- SUSE update for djvulibre
- SUSE update for djvulibre
- Anolis OS update for djvulibre
- Ubuntu update for djvulibre
- Fedora 43 update for djvulibre
- Fedora 42 update for djvulibre
- Fedora 44 update for djvulibre