{"id":"UBUNTU-CVE-2021-3500","details":"A flaw was found in djvulibre-3.5.28 and earlier. A Stack overflow in function DJVU::DjVuDocument::get_djvu_file() via crafted djvu file may lead to application crash and other consequences.","modified":"2026-02-04T03:13:46.017676Z","published":"2021-04-30T00:00:00Z","related":["USN-4957-1","USN-4957-2"],"upstream":["CVE-2021-3500"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3500"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4957-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4957-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3500"}],"affected":[{"package":{"name":"djvulibre","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-5ubuntu0.1+esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-5ubuntu0.1+esm1"}]}],"versions":["3.5.27.1-3","3.5.27.1-4","3.5.27.1-5","3.5.27.1-5ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"djview","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"djview3","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"djvulibre-bin","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"djvulibre-desktop","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"djvuserve","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"libdjvulibre-dev","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"libdjvulibre-text","binary_version":"3.5.27.1-5ubuntu0.1+esm1"},{"binary_name":"libdjvulibre21","binary_version":"3.5.27.1-5ubuntu0.1+esm1"}],"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/2021/UBUNTU-CVE-2021-3500.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-8ubuntu0.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-8ubuntu0.3"}]}],"versions":["3.5.27.1-7","3.5.27.1-8","3.5.27.1-8ubuntu0.1","3.5.27.1-8ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_name":"djview","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"djview3","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"djvulibre-bin","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"djvulibre-desktop","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"djvuserve","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"libdjvulibre-dev","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"libdjvulibre-text","binary_version":"3.5.27.1-8ubuntu0.3"},{"binary_name":"libdjvulibre21","binary_version":"3.5.27.1-8ubuntu0.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3500.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-14ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-14ubuntu0.1"}]}],"versions":["3.5.27.1-13","3.5.27.1-13ubuntu1","3.5.27.1-14","3.5.27.1-14build1"],"ecosystem_specific":{"binaries":[{"binary_name":"djview","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"djview3","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"djvulibre-bin","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"djvulibre-desktop","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"djvuserve","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"libdjvulibre-dev","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"libdjvulibre-text","binary_version":"3.5.27.1-14ubuntu0.1"},{"binary_name":"libdjvulibre21","binary_version":"3.5.27.1-14ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3500.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}