{"id":"UBUNTU-CVE-2020-29361","details":"An issue was discovered in p11-kit 0.21.1 through 0.23.21. Multiple integer overflows have been discovered in the array allocations in the p11-kit library and the p11-kit list command, where overflow checks are missing before calling realloc or calloc.","modified":"2026-04-22T14:22:41.061491Z","published":"2020-12-16T14:15:00Z","related":["USN-4677-1","USN-4677-2"],"upstream":["CVE-2020-29361"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-29361"},{"type":"REPORT","url":"https://lists.freedesktop.org/archives/p11-glue/2020-December/000712.html"},{"type":"REPORT","url":"https://github.com/p11-glue/p11-kit/security/advisories/GHSA-q4r3-hm6m-mvc2"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4677-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4677-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-29361"}],"affected":[{"package":{"name":"p11-kit","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/p11-kit@0.20.2-2ubuntu2+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.20.2-2ubuntu2+esm1"}]}],"versions":["0.18.3-2ubuntu1","0.20.1-2ubuntu1","0.20.2-1ubuntu1","0.20.2-1ubuntu2","0.20.2-2ubuntu1","0.20.2-2ubuntu2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"libp11-kit0","binary_version":"0.20.2-2ubuntu2+esm1"},{"binary_name":"p11-kit","binary_version":"0.20.2-2ubuntu2+esm1"},{"binary_name":"p11-kit-modules","binary_version":"0.20.2-2ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/p11-kit@0.23.2-5~ubuntu16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.2-5~ubuntu16.04.2"}]}],"versions":["0.23.1-3","0.23.2-2","0.23.2-3","0.23.2-5~ubuntu16.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libp11-kit0","binary_version":"0.23.2-5~ubuntu16.04.2"},{"binary_name":"p11-kit","binary_version":"0.23.2-5~ubuntu16.04.2"},{"binary_name":"p11-kit-modules","binary_version":"0.23.2-5~ubuntu16.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/p11-kit@0.23.9-2ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.9-2ubuntu0.1"}]}],"versions":["0.23.7-3","0.23.9-2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libp11-kit0","binary_version":"0.23.9-2ubuntu0.1"},{"binary_name":"p11-kit","binary_version":"0.23.9-2ubuntu0.1"},{"binary_name":"p11-kit-modules","binary_version":"0.23.9-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29361.json"}},{"package":{"name":"p11-kit","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/p11-kit@0.23.20-1ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.20-1ubuntu0.1"}]}],"versions":["0.23.17-2","0.23.18.1-2","0.23.19-2","0.23.20-1","0.23.20-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libp11-kit0","binary_version":"0.23.20-1ubuntu0.1"},{"binary_name":"p11-kit","binary_version":"0.23.20-1ubuntu0.1"},{"binary_name":"p11-kit-modules","binary_version":"0.23.20-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-29361.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}