{"id":"CVE-2017-5931","aliases":["ALPINE-CVE-2017-5931","BELL-CVE-2017-5931","DEBIAN-CVE-2017-5931","EUVD-2017-15005","GHSA-4w9r-63g7-xmfj"],"status":"published","title":"Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator) allows local guest OS...","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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00534,"percentile":0.45343,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-190"],"published":"2017-03-27T15:00:00Z","modified":"2026-10-24T10:31:02Z","fixes":[{"ecosystem":"Alpine:v3.10","package":"qemu","fixed_in":["2.8.1-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.5","package":"qemu","fixed_in":["2.8.1.1-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.6","package":"qemu","fixed_in":["2.8.1-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.7","package":"qemu","fixed_in":["2.8.1-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.8","package":"qemu","fixed_in":["2.8.1-r1"],"sources":["osv"]},{"ecosystem":"Alpine:v3.9","package":"qemu","fixed_in":["2.8.1-r1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"qemu","fixed_in":["1:2.8+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"qemu","fixed_in":["1:2.8+dfsg-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"qemu","fixed_in":["1:2.8+dfsg-3"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.10","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.5","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1.1-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.6","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.7","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.8","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}]},{"source":"osv","ecosystem":"Alpine:v3.9","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.1-r1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.8+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.8+dfsg-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"qemu","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:2.8+dfsg-3"}]}]}],"products":[{"vendor":"qemu","product":"qemu"}],"references":[{"url":"https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","Vendor Advisory","fix"]},{"url":"http://www.securityfocus.com/bid/96141","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory"]},{"url":"https://security.gentoo.org/glsa/201702-28","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=a08aaff811fb194950f79711d2afe5a892ae03a4","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2017/02/08/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Patch","Third Party Advisory","fix"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1420092","tags":["x_refsource_CONFIRM","x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5931"},{"url":"http://git.qemu-project.org/?p=qemu.git;a=commit;h=a08aaff811fb194950f79711d2afe5a892ae03a4"},{"url":"https://github.com/advisories/GHSA-4w9r-63g7-xmfj"},{"url":"https://security.alpinelinux.org/vuln/CVE-2017-5931","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2017-5931","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5931","tags":["advisory"]}],"sources":{"cve":[{"id":"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.","status":"published","published":"2017-03-27T15:00:00Z","modified":"2024-08-05T15:18:48.713Z","updated_at":"2026-11-02T14:33:12.942409Z"}],"euvd":[{"id":"EUVD-2017-15005","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.","status":"published","published":"2017-03-27T15:00:00Z","modified":"2024-08-05T15:18:48Z","updated_at":"2026-11-03T02:39:13.965943Z"}],"ghsa":[{"id":"GHSA-4w9r-63g7-xmfj","title":"Integer overflow in hw/virtio/virtio-crypto.c in QEMU (aka Quick Emulator) allows local guest OS...","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.","status":"published","published":"2022-05-13T01:13:29Z","modified":"2023-02-13T00:31:01Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:54:05.462623Z"}],"nvd":[{"id":"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.","status":"published","published":"2017-03-27T15:59:00.547Z","modified":"2026-06-17T01:21:27.627Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-190"],"updated_at":"2026-11-02T14:03:44.275273Z"}],"osv":[{"id":"ALPINE-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.","status":"published","published":"2017-03-27T15:59:00.547Z","modified":"2026-06-15T18:24:51.609816755Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:47.187336Z"},{"id":"BELL-CVE-2017-5931","title":"CVE-2017-5931 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:13:52.812696Z","modified":"2026-01-26T09:48:08.842454Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:28:14.137943Z"},{"id":"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.","status":"published","published":"2017-03-27T15:59:00.547Z","modified":"2026-10-24T10:31:02.205255055Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:06.029968Z"},{"id":"DEBIAN-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.","status":"published","published":"2017-03-27T15:59:00.547Z","modified":"2026-09-01T20:03:48.824459273Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:29.412243Z"}]}}
