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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DjvuNet | DjVuLibre | < 3.5.29 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | djvulibre | 3.5.28-2.1 | — |
| Debian 13 | djvulibre | 3.5.28-2.1 | — |
| Debian 12 | djvulibre | 3.5.28-2.1~deb12u1 | DSA-5960-1 |
| Debian 11 | djvulibre | 3.5.28-2.2~deb11u1 | DLA-4247-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | djvulibre | 3.5.28-2ubuntu0.24.04.1 | USN-7631-1 |
| Ubuntu 22.04 LTS | djvulibre | 3.5.28-2ubuntu0.22.04.1 | USN-7631-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | djvulibre | 3.5.27.1-14ubuntu0.1+esm1 | — |
| Ubuntu Pro 18.04 LTS | djvulibre | 3.5.27.1-8ubuntu0.4+esm1 | — |
| Ubuntu Pro 16.04 LTS | djvulibre | 3.5.27.1-5ubuntu0.1+esm3 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | djvulibre | 3.5.27-150200.11.17.1 | SUSE-SU-2025:02703-1 |
| SLES 15 SP6 | djvulibre | 3.5.27-150200.11.17.1 | SUSE-SU-2025:02703-1 |
| SLES 12 SP5 | djvulibre | 3.5.25.3-5.25.1 | SUSE-SU-2025:02695-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | djvulibre | 3.5.29-1.1 | openSUSE-SU-2025:15319-1 |
| openSUSE Leap 15.6 | djvulibre | 3.5.27-150200.11.17.1 | SUSE-SU-2025:02703-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
ThePhykon/CVE-2025-53367-POC ★ 0 · Nov 17, 2025
A simple POC of the CVE-2025-53367, creating a .djvu-file which triggers an OOB-write in the heap
-
kevinbackhouse/DjVuLibre-poc-CVE-2025-53367 ★ 0 · Jul 18, 2025
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 6
- USN-7631-1 djvulibre vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- openSUSE-SU-2025:15319-1 djvulibre-3.5.29-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5960-1 djvulibre - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-4247-1 djvulibre - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2025:02695-1 Security update for djvulibre SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02703-1 Security update for djvulibre SUSE / openSUSE Security Updates · Feb 4, 2026
References
- 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
- 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