CVE-2025-53367: DjvuNet DjVuLibre · Out-of-bounds Write
Affects DjvuNet DjVuLibreSource CVE Database V5
Not known to be exploited · CVSS 8.4 High : upgrade to 3.5.29 soon.
Data as of 27 Oct 2026, 05:11 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.5.29
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 3 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade djvulibre/djvulibre to 3.5.29.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubdjvulibre/djvulibrepkg:github/djvulibre/djvulibreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The primary mitigation is to upgrade DjVuLibre to version 3.5.29 or later, where the vulnerability has been patched. Organizations should audit their environments to identify all instances of DjVuLibre and ensure they are updated promptly. For environments where immediate upgrade is not feasible, implementing strict file handling policies to block or quarantine untrusted DjVu files can reduce risk. Employ endpoint protection solutions that monitor for abnormal application behavior or memory corruption attempts. User training to avoid opening suspicious DjVu documents is critical due to the user interaction requirement. Additionally, sandboxing document viewers or running them with least privilege can limit the impact of exploitation. Monitoring logs for crashes or unusual behavior in document processing applications can help detect exploitation attempts. Finally, integrating vulnerability management processes to track and remediate such issues proactively is recommended.
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.
References
- securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/ (opens in a new tab)
- github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre (opens in a new tab)
- github.com/github/securitylab/tree/main/SecurityExploits/DjVuLibre/MMRDecoder_scanruns_CVE-2025-53367 (opens in a new tab)
- sourceforge.net/p/djvu/djvulibre-git/ci/33f645196593d70bd5e37f55b63886c31c82c3da (opens in a new tab)
- openwall.com/lists/oss-security/2025/07/03/1 (opens in a new tab)
- github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre/ (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/07/msg00007.html (opens in a new tab)
- openwall.com/lists/oss-security/2025/07/03/1 (opens in a new tab)
- openwall.com/lists/oss-security/2025/07/18/3 (opens in a new tab)