{"id":"UBUNTU-CVE-2021-30472","details":"A flaw was found in PoDoFo 0.9.7. A stack-based buffer overflow in PdfEncryptMD5Base::ComputeOwnerKey function in PdfEncrypt.cpp is possible because of a improper check of the keyLength value.","modified":"2026-05-20T16:04:56.221748974Z","published":"2021-05-26T22:15:00Z","upstream":["CVE-2021-30472"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-30472"},{"type":"REPORT","url":"https://sourceforge.net/p/podofo/tickets/132/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-30472"}],"affected":[{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1.1ubuntu1","0.9.0-1.2","0.9.0-1.2ubuntu0.1~esm1","0.9.0-1.2ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-utils","binary_version":"0.9.0-1.2ubuntu0.1~esm3"},{"binary_name":"libpodofo0.9.0","binary_version":"0.9.0-1.2ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.0-1.3","0.9.3-3","0.9.3-4","0.9.3-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.3-4ubuntu0.1~esm1","binary_name":"libpodofo-utils"},{"binary_name":"libpodofo0.9.3","binary_version":"0.9.3-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.5-6","0.9.5-8","0.9.5-8build1","0.9.5-9","0.9.5-9ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-utils","binary_version":"0.9.5-9ubuntu0.1~esm1"},{"binary_name":"libpodofo0.9.5","binary_version":"0.9.5-9ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.6+dfsg-5","0.9.6+dfsg-5build1","0.9.6+dfsg-5ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-utils","binary_version":"0.9.6+dfsg-5ubuntu0.1~esm1"},{"binary_version":"0.9.6+dfsg-5ubuntu0.1~esm1","binary_name":"libpodofo0.9.6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.7+dfsg-2","0.9.7+dfsg-2build1","0.9.7+dfsg-2build2","0.9.7+dfsg-3","0.9.7+dfsg-3ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-utils","binary_version":"0.9.7+dfsg-3ubuntu0.1~esm1"},{"binary_version":"0.9.7+dfsg-3ubuntu0.1~esm1","binary_name":"libpodofo0.9.7"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3build1","0.9.8+dfsg-3build2","0.9.8+dfsg-3.1build1","0.9.8+dfsg-3.1build2","0.9.8+dfsg-3.1build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libpodofo-utils","binary_version":"0.9.8+dfsg-3.1build3"},{"binary_name":"libpodofo0.9.8t64","binary_version":"0.9.8+dfsg-3.1build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.8+dfsg-3.2","binary_name":"libpodofo-utils"},{"binary_version":"0.9.8+dfsg-3.2","binary_name":"libpodofo0.9.8t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.json"}},{"package":{"name":"libpodofo","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libpodofo?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.8+dfsg-3.2","0.9.8+dfsg-3.3"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.8+dfsg-3.3","binary_name":"libpodofo-utils"},{"binary_version":"0.9.8+dfsg-3.3","binary_name":"libpodofo0.9.8t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-30472.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:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}