{"id":"UBUNTU-CVE-2020-13132","details":"An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect free() in the ykpiv_util_generate_key() function in lib/util.c through incorrect error handling code. This could be used to cause a denial of service attack.","modified":"2026-04-22T12:28:41.476675Z","published":"2020-07-09T18:15:00Z","upstream":["CVE-2020-13132"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-13132"},{"type":"REPORT","url":"https://blog.inhq.net/posts/yubico-libykpiv-vuln/"},{"type":"REPORT","url":"https://www.yubico.com/support/security-advisories/ysa-2020-02/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-13132"}],"affected":[{"package":{"name":"yubico-piv-tool","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/yubico-piv-tool@1.0.3-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1-1","1.0.3-1","1.0.3-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libykpiv1","binary_version":"1.0.3-1ubuntu0.1~esm1"},{"binary_name":"yubico-piv-tool","binary_version":"1.0.3-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13132.json"}},{"package":{"name":"yubico-piv-tool","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/yubico-piv-tool@1.4.2-2ubuntu0.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-2","1.4.2-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libykpiv1","binary_version":"1.4.2-2ubuntu0.1"},{"binary_name":"ykcs11","binary_version":"1.4.2-2ubuntu0.1"},{"binary_name":"yubico-piv-tool","binary_version":"1.4.2-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13132.json"}},{"package":{"name":"yubico-piv-tool","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/yubico-piv-tool@2.0.0-2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-1","2.0.0-1","2.0.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.0-2","binary_name":"libykpiv1"},{"binary_name":"ykcs11","binary_version":"2.0.0-2"},{"binary_version":"2.0.0-2","binary_name":"yubico-piv-tool"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-13132.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}