{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-32846","published":"2023-02-17T23:15:12.037000Z","last_modified":"2026-06-17T03:53:44.990000Z","status":"Modified","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-908","CWE-754"],"cpes":[{"criteria":"cpe:2.3:a:mobyproject:hyperkit:*:*:*:*:*:*:*:*","part":"a","vendor":"mobyproject","product":"hyperkit","version_end_including":"0.20210107"}],"cpes_truncated":false,"vendors":["mobyproject"],"products":["mobyproject/hyperkit"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00326,"percentile":0.18189,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2021-32846/","html_en":"/en/cve/CVE-2021-32846/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32846","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-32846"},"untrusted":{"vendor_name":"Mobyproject","product_name":"Hyperkit","desc_en":"HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107, function `pci_vtsock_proc_tx` in `virtio-sock` can lead to to uninitialized memory use. In this situation, there is a check for the return value to be less or equal to `VTSOCK_MAXSEGS`, but that check is not sufficient because the function can return `-1` if it finds an error it cannot recover from. Moreover, the negative return value will be used by `iovec_pull` in a while condition that can further lead to more corruption because the function is not designed to handle a negative `iov_len`. This issue may lead to a guest crashing the host causing a denial of service and, under certain circumstance, memory corruption. This issue is fixed in commit af5eba2360a7351c08dfd9767d9be863a50ebaba.","affected":[{"untrusted_vendor":"moby","untrusted_product":"hyperkit","versions":[]}],"references":[{"url":"https://github.com/moby/hyperkit/commit/af5eba2360a7351c08dfd9767d9be863a50ebaba","tags":["Patch"]},{"url":"https://github.com/moby/hyperkit/pull/313","tags":["Patch"]},{"url":"https://securitylab.github.com/advisories/GHSL-2021-054_057-moby-hyperkit/","tags":["Third Party Advisory"]}]}}