{"id":"UBUNTU-CVE-2021-3630","details":"An out-of-bounds write vulnerability was found in DjVuLibre in DJVU::DjVuTXT::decode() in DjVuText.cpp via a crafted djvu file which may lead to crash and segmentation fault. This flaw affects DjVuLibre versions prior to 3.5.28.","modified":"2026-04-22T12:57:21.095840Z","published":"2021-06-30T14:15:00Z","related":["USN-5005-1"],"upstream":["CVE-2021-3630"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3630"},{"type":"REPORT","url":"https://sourceforge.net/p/djvu/bugs/302/"},{"type":"REPORT","url":"https://sourceforge.net/p/djvu/djvulibre-git/ci/7b0ef20690e08f1fe124aebbf42f6310e2f40f81/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1977427"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5005-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3630"}],"affected":[{"package":{"name":"djvulibre","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-5ubuntu0.1+esm2?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-5ubuntu0.1+esm2"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"djview","binary_version":"3.5.27.1-5ubuntu0.1+esm2"},{"binary_name":"djview3","binary_version":"3.5.27.1-5ubuntu0.1+esm2"},{"binary_name":"djvulibre-bin","binary_version":"3.5.27.1-5ubuntu0.1+esm2"},{"binary_name":"djvulibre-desktop","binary_version":"3.5.27.1-5ubuntu0.1+esm2"},{"binary_version":"3.5.27.1-5ubuntu0.1+esm2","binary_name":"djvuserve"},{"binary_name":"libdjvulibre-text","binary_version":"3.5.27.1-5ubuntu0.1+esm2"},{"binary_name":"libdjvulibre21","binary_version":"3.5.27.1-5ubuntu0.1+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3630.json"}},{"package":{"name":"djvulibre","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/djvulibre@3.5.27.1-8ubuntu0.4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27.1-8ubuntu0.4"}]}],"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"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.5.27.1-8ubuntu0.4","binary_name":"djview"},{"binary_name":"djview3","binary_version":"3.5.27.1-8ubuntu0.4"},{"binary_name":"djvulibre-bin","binary_version":"3.5.27.1-8ubuntu0.4"},{"binary_name":"djvulibre-desktop","binary_version":"3.5.27.1-8ubuntu0.4"},{"binary_name":"djvuserve","binary_version":"3.5.27.1-8ubuntu0.4"},{"binary_name":"libdjvulibre-text","binary_version":"3.5.27.1-8ubuntu0.4"},{"binary_name":"libdjvulibre21","binary_version":"3.5.27.1-8ubuntu0.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3630.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}