{"id":"CVE-2020-13132","aliases":["DEBIAN-CVE-2020-13132","EUVD-2020-5408","GHSA-mg7w-vxv4-393q","UBUNTU-CVE-2020-13132"],"status":"published","title":"An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect...","description":"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.","severity":{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AC:L/AV:P/A:H/C:N/I:N/PR:N/S:U/UI:R","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00638,"percentile":0.51045,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-327","CWE-763"],"published":"2020-07-09T17:51:56Z","modified":"2026-10-26T12:02:25Z","fixes":[{"ecosystem":"Debian:12","package":"yubico-piv-tool","fixed_in":["2.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"yubico-piv-tool","fixed_in":["2.1.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"yubico-piv-tool","fixed_in":["2.1.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"yubico-piv-tool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"yubico-piv-tool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"yubico-piv-tool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.1-1"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"yubico-piv-tool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.1-1","1.0.3-1","1.0.3-1ubuntu0.1~esm1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"yubico-piv-tool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.2-2","1.4.2-2ubuntu0.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"yubico-piv-tool","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.0-1","2.0.0-1","2.0.0-2"]}],"products":[{"vendor":"yubico","product":"libykpiv"},{"vendor":"yubico","product":"piv_tool_manager"},{"vendor":"yubico","product":"yubikey_smart_card_minidriver"}],"references":[{"url":"https://blog.inhq.net/posts/yubico-libykpiv-vuln/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://www.yubico.com/support/security-advisories/ysa-2020-02/","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13132"},{"url":"https://github.com/advisories/GHSA-mg7w-vxv4-393q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-13132","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-13132","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-13132","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-13132","description":"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.","status":"published","published":"2020-07-09T17:51:56Z","modified":"2024-08-04T12:11:19.035Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AC:L/AV:P/A:H/C:N/I:N/PR:N/S:U/UI:R","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:35:54.170199Z"}],"euvd":[{"id":"EUVD-2020-5408","description":"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.","status":"published","published":"2020-07-09T17:51:56Z","modified":"2024-08-04T12:11:19Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AC:L/AV:P/A:H/C:N/I:N/PR:N/S:U/UI:R","level":"medium"}],"updated_at":"2026-11-03T03:07:38.81332Z"}],"ghsa":[{"id":"GHSA-mg7w-vxv4-393q","title":"An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect...","description":"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.","status":"published","published":"2022-05-24T17:22:42Z","modified":"2023-01-29T05:03:07Z","cwes":["CWE-327"],"updated_at":"2026-11-02T14:45:15.109911Z"}],"nvd":[{"id":"CVE-2020-13132","description":"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.","status":"published","published":"2020-07-09T18:15:10.663Z","modified":"2026-06-17T02:52:40.417Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"2.0","score":2.1,"vector":"AV:L/AC:L/Au:N/C:N/I:N/A:P","level":"low","assessor":"primary"}],"cwes":["CWE-763"],"updated_at":"2026-11-02T14:06:09.126752Z"}],"osv":[{"id":"CVE-2020-13132","description":"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.","status":"published","published":"2020-07-09T18:15:10.663Z","modified":"2026-03-14T09:50:10.050274Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:44:14.034736Z"},{"id":"DEBIAN-CVE-2020-13132","description":"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.","status":"published","published":"2020-07-09T18:15:10.663Z","modified":"2026-10-26T12:02:25.805914594Z","cvss":[{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:45:32.862554Z"},{"id":"UBUNTU-CVE-2020-13132","description":"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.","status":"published","published":"2020-07-09T18:15:00Z","modified":"2026-04-22T12:28:41.476675Z","cvss":[{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:54:22.804634Z"}]}}
