CVSS Vector
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
Lifecycle Timeline
5Description
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.
Analysis
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.
Technical Context
An out-of-bounds memory access occurs when code reads from or writes to memory locations outside the intended buffer boundaries. This vulnerability is classified as Out-of-bounds Read (CWE-125).
Remediation
Implement proper bounds checking on all array and buffer accesses. Use memory-safe languages or static analysis tools to detect OOB issues.
Priority Score
Vendor Status
Ubuntu
Priority: Medium| Release | Status | Version |
|---|---|---|
| jammy | released | 3.5.28-2ubuntu0.22.04.1 |
| bionic | released | 3.5.27.1-8ubuntu0.4+esm1 |
| focal | released | 3.5.27.1-14ubuntu0.1+esm1 |
| upstream | released | 3.5.28-2.1 |
| noble | released | 3.5.28-2ubuntu0.24.04.1 |
| oracular | ignored | end of life |
| plucky | released | 3.5.28-2ubuntu0.25.04.1 |
| questing | not-affected | 3.5.28-2.1 |
| xenial | released | 3.5.27.1-5ubuntu0.1+esm3 |
Debian
Bug #1108729| Release | Status | Fixed Version | Urgency |
|---|---|---|---|
| bullseye | fixed | 3.5.28-2.2~deb11u1 | - |
| bullseye (security) | fixed | 3.5.28-2.2~deb11u1 | - |
| bookworm | fixed | 3.5.28-2.1~deb12u1 | - |
| bookworm (security) | fixed | 3.5.28-2.1~deb12u1 | - |
| trixie | fixed | 3.5.28-2.2 | - |
| forky, sid | fixed | 3.5.29-1 | - |
| (unstable) | fixed | 3.5.28-2.1 | - |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-19908