{"id":"UBUNTU-CVE-2025-53367","details":"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.","modified":"2026-04-22T19:55:47.979155Z","published":"2025-07-04T00:00:00Z","related":["USN-7631-1","USN-8054-1"],"upstream":["CVE-2025-53367"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-53367"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-53367"},{"type":"REPORT","url":"https://github.blog/security/vulnerability-research/cve-2025-53367-an-exploitable-out-of-bounds-write-in-djvulibre"},{"type":"REPORT","url":"https://securitylab.github.com/advisories/GHSL-2025-055_DjVuLibre/"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/07/03/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7631-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8054-1"}],"affected":[{"package":{"name":"djvulibre","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-5ubuntu0.1+esm3?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-5ubuntu0.1+esm3"}]}],"versions":["3.5.27.1-3","3.5.27.1-4","3.5.27.1-5","3.5.27.1-5ubuntu0.1","3.5.27.1-5ubuntu0.1+esm1","3.5.27.1-5ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"djview"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"djview3"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"djvulibre-bin"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"djvulibre-desktop"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"djvuserve"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"libdjvulibre-text"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm3","binary_name":"libdjvulibre21"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53367.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-8ubuntu0.4+esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-8ubuntu0.4+esm1"}]}],"versions":["3.5.27.1-7","3.5.27.1-8","3.5.27.1-8ubuntu0.1","3.5.27.1-8ubuntu0.2","3.5.27.1-8ubuntu0.3","3.5.27.1-8ubuntu0.4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"djview"},{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"djview3"},{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"djvulibre-bin"},{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"djvulibre-desktop"},{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"djvuserve"},{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"libdjvulibre-text"},{"binary_version":"3.5.27.1-8ubuntu0.4+esm1","binary_name":"libdjvulibre21"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53367.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-14ubuntu0.1+esm1?arch=source&distro=esm-infra/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-14ubuntu0.1+esm1"}]}],"versions":["3.5.27.1-13","3.5.27.1-13ubuntu1","3.5.27.1-14","3.5.27.1-14build1","3.5.27.1-14ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"djview"},{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"djview3"},{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"djvulibre-bin"},{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"djvulibre-desktop"},{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"djvuserve"},{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"libdjvulibre-text"},{"binary_version":"3.5.27.1-14ubuntu0.1+esm1","binary_name":"libdjvulibre21"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53367.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.28-2ubuntu0.22.04.1"}]}],"versions":["3.5.28-2build1","3.5.28-2build2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"djview"},{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"djview3"},{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"djvulibre-bin"},{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"djvulibre-desktop"},{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"djvuserve"},{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"libdjvulibre-text"},{"binary_version":"3.5.28-2ubuntu0.22.04.1","binary_name":"libdjvulibre21"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53367.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.28-2ubuntu0.24.04.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.28-2ubuntu0.24.04.1"}]}],"versions":["3.5.28-2build3","3.5.28-2build4"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"djview"},{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"djview3"},{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"djvulibre-bin"},{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"djvulibre-desktop"},{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"djvuserve"},{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"libdjvulibre-text"},{"binary_version":"3.5.28-2ubuntu0.24.04.1","binary_name":"libdjvulibre21"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-53367.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}