{"api_version":"1","generated_at":"2026-04-23T06:18:07+00:00","cve":"CVE-2017-5931","urls":{"html":"https://cve.report/CVE-2017-5931","api":"https://cve.report/api/cve/CVE-2017-5931.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5931","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5931"},"summary":{"title":"CVE-2017-5931","description":"Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (QEMU process crash) or possibly execute arbitrary code on the host via a crafted virtio-crypto request, which triggers a heap-based buffer overflow.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2017-03-27 15:59:00","updated_at":"2023-02-12 23:29:00"},"problem_types":["CWE-190"],"metrics":[],"references":[{"url":"https://security.gentoo.org/glsa/201702-28","name":"GLSA-201702-28","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"QEMU: Multiple vulnerabilities (GLSA 201702-28) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.qemu-project.org/?p=qemu.git;a=commit;h=a08aaff811fb194950f79711d2afe5a892ae03a4","name":"http://git.qemu-project.org/?p=qemu.git;a=commit;h=a08aaff811fb194950f79711d2afe5a892ae03a4","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"git.qemu.org Git - qemu.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1420092","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1420092","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1420092 – (CVE-2017-5931) CVE-2017-5931 Qemu: virtio: integer overflow in handling virtio-crypto requests","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=a08aaff811fb194950f79711d2afe5a892ae03a4","name":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=a08aaff811fb194950f79711d2afe5a892ae03a4","refsource":"MISC","tags":[],"title":"git.qemu.org Git - qemu.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/96141","name":"96141","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"QEMU 'virtio-crypto.c' Integer Overflow Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2017/02/08/2","name":"[oss-security] 20170207 Re: CVE request Qemu: virtio: integer overflow in handling virtio-crypto requests","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Re: CVE request Qemu: virtio: integer overflow in handling virtio-crypto requests","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html","name":"[qemu-devel] 20170110 [PULL 03/41] virtio-crypto: fix possible integer and heap overflow","refsource":"MLIST","tags":["Patch","Vendor Advisory"],"title":"[Qemu-devel] [PULL 03/41] virtio-crypto: fix possible integer and heap o","mime":"text/x-diff","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5931","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5931","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5931","vulnerable":"1","versionEndIncluding":"2.8.1.1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"qemu","cpe5":"qemu","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-5931","qid":"501229","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2017-5931","qid":"505339","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2017-5931","qid":"710393","title":"Gentoo Linux QEMU Multiple Vulnerabilities (GLSA 201702-28)"},{"cve":"CVE-2017-5931","qid":"900050","title":"CBL-Mariner Linux Security Update for qemu-kvm 4.2.0"},{"cve":"CVE-2017-5931","qid":"903132","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for qemu-kvm (3541)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2017-5931","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (QEMU process crash) or possibly execute arbitrary code on the host via a crafted virtio-crypto request, which triggers a heap-based buffer overflow."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_affected":"=","version_value":"n/a"}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.gentoo.org/glsa/201702-28","refsource":"MISC","name":"https://security.gentoo.org/glsa/201702-28"},{"url":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=a08aaff811fb194950f79711d2afe5a892ae03a4","refsource":"MISC","name":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=a08aaff811fb194950f79711d2afe5a892ae03a4"},{"url":"http://www.openwall.com/lists/oss-security/2017/02/08/2","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2017/02/08/2"},{"url":"http://www.securityfocus.com/bid/96141","refsource":"MISC","name":"http://www.securityfocus.com/bid/96141"},{"url":"https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html","refsource":"MISC","name":"https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1420092","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1420092"}]}},"nvd":{"publishedDate":"2017-03-27 15:59:00","lastModifiedDate":"2023-02-12 23:29:00","problem_types":["CWE-190"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2,"impactScore":6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":7.2},"severity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","versionEndIncluding":"2.8.1.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5931","Ordinal":"102536","Title":"CVE-2017-5931","CVE":"CVE-2017-5931","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5931","Ordinal":"1","NoteData":"Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (QEMU process crash) or possibly execute arbitrary code on the host via a crafted virtio-crypto request, which triggers a heap-based buffer overflow.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5931","Ordinal":"2","NoteData":"2017-03-27","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5931","Ordinal":"3","NoteData":"2017-06-30","Type":"Other","Title":"Modified"}]}}}