Out-of-bounds write in DjVuLibre - CVE-2025-53367

 

Out-of-bounds write in DjVuLibre - CVE-2025-53367

Published: July 7, 2025


Vulnerability identifier: #VU112448
CSH Severity: High
CVSS v4: 8.4 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-53367
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

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

DjVuLibre
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

Install updates from vendor's website.

DjVuLibre - update to 3.5.29
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

Related Security Bulletins