CVE-2025-53367
DjVuLibre 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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Active
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.4
DjVuLibre 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.
- Record
CVE-2025-53367- CVSS 4.0
- 8.4 High
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 - Weakness
- CWE-787, CWE-125
- Updated
- 2026-11-02
EUVDEUVD-2025-19908
8.4
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.
- Record
EUVD-2025-19908- CVSS 4.0
- 8.4 High
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 - Updated
- 2026-11-02
NVD
8.4
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.
- Record
CVE-2025-53367- CVSS 4.0
- 8.4 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-125, CWE-787
- Updated
- 2026-11-02
OSV
8.4
DjVuLibre 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.
- Record
CVE-2025-53367- CVSS 4.0
- 8.4 High
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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2025-53367
8.4
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.
- Record
DEBIAN-CVE-2025-53367- CVSS 4.0
- 8.4 High
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Updated
- 2026-11-02
OSVOESA-2025-1756
6.6
djvulibre security update
DjVu is a set of compression technologies, a file format, and a software platform for the deliveryover the Web of digital documents, scanned documents, and high resolution images.DjVu documents download and display extremely quickly, and look exactly the same on all platforms with no compatibility problems due to fonts, colors, etc. DjVu can be seen as a superior alternative to PDF and PostScript for digital documents, to TIFF (and PDF) for scanned bitonal documents, to JPEG and JPEG2000 for photographs and pictures, and to GIF for large palettized images. DjVu is the only Web format that is practical for distributing high-resolution scanned documents in color.
Security Fix(es):
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.(CVE-2025-53367)
- Record
OESA-2025-1756- CVSS 3.1
- 6.6 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2025-53367
8.4
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.
- Record
UBUNTU-CVE-2025-53367- CVSS 4.0
- 8.4 High
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 - Updated
- 2026-11-02
OSVMGASA-2025-0209 No score
Updated djvulibre packages fix security vulnerability
An out-of-bounds write in the MMRDecoder::scanruns method was fixed. The vulnerability could be exploited to gain code execution on a Linux Desktop system when the user tries to open a crafted document.
- Record
MGASA-2025-0209- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15319-1 No score
djvulibre-3.5.29-1.1 on GA media
These are all security issues fixed in the djvulibre-3.5.29-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15319-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02695-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2025-53367: Fixed a bug where a crafted document may lead to an out of bound write. (bsc#1245773)
- Record
SUSE-SU-2025:02695-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:02703-1 No score
Security update for djvulibre
This update for djvulibre fixes the following issues:
- CVE-2025-53367: Fixed a bug where a crafted document may lead to an out of bound write. (bsc#1245773)
- Record
SUSE-SU-2025:02703-1- Updated
- 2026-11-02
OSVUSN-7631-1 No score
djvulibre vulnerability
It was discovered that DjVuLibre incorrectly handled certain memory operations. If a user or automated system were tricked into processing a specially crafted DjVu file, a remote attacker could cause applications to stop responding or crash, resulting in a denial of service, or possibly execute arbitrary code.
- Record
USN-7631-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
djvulibreDebian:12 |
before 3.5.28-2.1~deb12u1, plus listed versions 3.5.28-2 |
3.5.28-2.1~deb12u1 |
djvulibreDebian:13 |
before 3.5.28-2.1 | 3.5.28-2.1 |
djvulibreDebian:14 |
before 3.5.28-2.1 | 3.5.28-2.1 |
djvulibreDebian:11 From an advisory covering 3 CVEs |
before 3.5.28-2.2~deb11u1, plus listed versions 3.5.28-23.5.28-2.13.5.28-2.1~deb12u1 |
3.5.28-2.2~deb11u1 |
djvulibreMageia:9 |
before 3.5.29-1.mga9 | 3.5.29-1.mga9 |
djvulibreopenEuler:22.03-LTS-SP4 |
before 3.5.27-20.oe2203sp4 | 3.5.27-20.oe2203sp4 |
djvulibreopenEuler:24.03-LTS |
before 3.5.28-2.oe2403sp2 | 3.5.28-2.oe2403sp2 |
djvulibreopenEuler:24.03-LTS-SP1 |
before 3.5.28-2.oe2403sp1 | 3.5.28-2.oe2403sp1 |
djvulibreopenEuler:24.03-LTS-SP2 |
before 3.5.28-2.oe2403sp2 | 3.5.28-2.oe2403sp2 |
djvulibreopenEuler:20.03-LTS-SP4 |
before 3.5.27-21.oe2003sp4 | 3.5.27-21.oe2003sp4 |
Show 13 moreShow less
| Package | Affected | Fixed |
|---|---|---|
djvulibreopenEuler:22.03-LTS-SP3 |
before 3.5.27-20.oe2203sp3 | 3.5.27-20.oe2203sp3 |
djvulibreSUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 |
before 3.5.25.3-5.25.1 | 3.5.25.3-5.25.1 |
djvulibreSUSE:Linux Enterprise Module for Desktop Applications 15 SP6 |
before 3.5.27-150200.11.17.1 | 3.5.27-150200.11.17.1 |
djvulibreSUSE:Linux Enterprise Module for Desktop Applications 15 SP7 |
before 3.5.27-150200.11.17.1 | 3.5.27-150200.11.17.1 |
djvulibreSUSE:Linux Enterprise Module for Package Hub 15 SP6 |
before 3.5.27-150200.11.17.1 | 3.5.27-150200.11.17.1 |
djvulibreSUSE:Linux Enterprise Module for Package Hub 15 SP7 |
before 3.5.27-150200.11.17.1 | 3.5.27-150200.11.17.1 |
djvulibreopenSUSE:Leap 15.6 |
before 3.5.27-150200.11.17.1 | 3.5.27-150200.11.17.1 |
djvulibreUbuntu:Pro:16.04:LTS |
before 3.5.27.1-5ubuntu0.1+esm3, plus listed versions 3.5.27.1-33.5.27.1-43.5.27.1-53.5.27.1-5ubuntu0.13.5.27.1-5ubuntu0.1+esm13.5.27.1-5ubuntu0.1+esm2 |
3.5.27.1-5ubuntu0.1+esm3 |
djvulibreUbuntu:Pro:18.04:LTS |
before 3.5.27.1-8ubuntu0.4+esm1, plus listed versions 3.5.27.1-73.5.27.1-83.5.27.1-8ubuntu0.13.5.27.1-8ubuntu0.23.5.27.1-8ubuntu0.33.5.27.1-8ubuntu0.4 |
3.5.27.1-8ubuntu0.4+esm1 |
djvulibreUbuntu:Pro:20.04:LTS |
before 3.5.27.1-14ubuntu0.1+esm1, plus listed versions 3.5.27.1-133.5.27.1-13ubuntu13.5.27.1-143.5.27.1-14build13.5.27.1-14ubuntu0.1 |
3.5.27.1-14ubuntu0.1+esm1 |
djvulibreUbuntu:22.04:LTS |
before 3.5.28-2ubuntu0.22.04.1, plus listed versions 3.5.28-2build13.5.28-2build2 |
3.5.28-2ubuntu0.22.04.1 |
djvulibreUbuntu:24.04:LTS |
before 3.5.28-2ubuntu0.24.04.1, plus listed versions 3.5.28-2build33.5.28-2build4 |
3.5.28-2ubuntu0.24.04.1 |
djvulibreopenSUSE:Tumbleweed |
before 3.5.29-1.1 | 3.5.29-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | kevinbackhouse/DjVuLibre-poc-CVE-2025-53367 | 2025-07-18 |
| PoC in GitHub | ThePhykon/CVE-2025-53367-POC | 2025-11-17 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, exploits, facts | ||
| first indexed | CVE List, EUVD, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-53367 is a high vulnerability (CVSS 8.4) in Djvunet Djvulibre, published July 3, 2025. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 0.87%, the 59th percentile. Fixed in djvulibre 3.5.28-2.1~deb12u1.
References
securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre
github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre
github.com/github/securitylab/tree/main/SecurityExploits/DjVuLibre/MMRDecoder_scanruns_CVE-2025-53367
sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da
openwall.com/lists/oss-security/2025/07/03/1
lists.debian.org/debian-lts-announce/2025/07/msg00007.html
Show 14 moreShow less
openwall.com/lists/oss-security/2025/07/18/3
security-tracker.debian.org/tracker/CVE-2025-53367
advisories.mageia.org/MGASA-2025-0209.html
bugs.mageia.org/show_bug.cgi?id=34423
ubuntu.com/security/notices/USN-7631-1
openeuler.org/zh/security/security-bulletins/detail?id=openEuler-SA-2025-1756
nvd.nist.gov/vuln/detail/CVE-2025-53367
suse.com/support/update/announcement/2025/suse-su-202502695-1
bugzilla.suse.com/1245773
suse.com/security/cve/CVE-2025-53367
suse.com/support/update/announcement/2025/suse-su-202502703-1
ubuntu.com/security/CVE-2025-53367
cve.org/CVERecord?id=CVE-2025-53367
ubuntu.com/security/notices/USN-8054-1