High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-5931
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:03 UTC · Revision 1
Source evidence
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.
osv:CVE-2017-5931
Complete source record
{
"id": "272892065de2c9df780f1c625f78a3b6caa56b7087f4f879fa58ecc6183a1d56",
"url": "https://osv.dev/vulnerability/CVE-2017-5931",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-5931",
"summary": "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.",
"evidence": "osv:CVE-2017-5931",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2017-5931",
"aliases": [
"CVE-2017-5931"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qemu/qemu",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d1b725ee12539906b72777fde1f6c73c2273d806"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.8.1.1",
"v2.8.1",
"v2.8.0",
"v2.8.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",
"v1.1.0-rc4",
"v1.1.0-rc3",
"v1.1.0-rc2",
"v1.1-rc2",
"v1.1-rc1",
"v1.1-rc0",
"v1.0",
"v1.0-rc4",
"v1.0-rc3",
"v1.0-rc2",
"v1.0-rc1",
"v1.0-rc0",
"v0.14.0-rc0",
"v0.13.0-rc0",
"v0.12.0-rc0",
"v0.11.0-rc0",
"v0.5.0",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5931.json"
}
},
{
"ranges": [
{
"repo": "https://gitlab.com/qemu-project/qemu",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "d1b725ee12539906b72777fde1f6c73c2273d806"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.8.1.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.8.1.1",
"v2.8.1",
"v2.8.0",
"v2.8.0-rc4",
"v2.8.0-rc3",
"v2.8.0-rc2",
"v2.8.0-rc1",
"v2.8.0-rc0",
"v2.7.0",
"v2.7.0-rc5",
"v2.7.0-rc4",
"v2.7.0-rc3",
"v2.7.0-rc2",
"v2.6.0",
"v2.7.0-rc1",
"v2.7.0-rc0",
"v2.6.0-rc5",
"v2.6.0-rc4",
"v2.6.0-rc3",
"v2.6.0-rc2",
"v2.6.0-rc1",
"v2.6.0-rc0",
"v2.5.0",
"v2.5.0-rc4",
"v2.5.0-rc3",
"v2.5.0-rc2",
"v2.5.0-rc1",
"v2.5.0-rc0",
"v2.4.0",
"v2.4.0-rc4",
"v2.4.0-rc3",
"v2.3.0",
"v2.4.0-rc2",
"v2.4.0-rc1",
"v2.4.0-rc0",
"v2.3.0-rc4",
"v2.3.0-rc3",
"v2.3.0-rc2",
"v2.3.0-rc1",
"v2.3.0-rc0",
"v2.2.0",
"v2.2.0-rc3",
"v2.2.0-rc5",
"v2.2.0-rc4",
"v2.2.0-rc2",
"v2.2.0-rc1",
"v2.2.0-rc0",
"v2.1.0",
"v2.1.0-rc5",
"v2.1.0-rc4",
"v2.1.0-rc2",
"v2.1.0-rc3",
"v2.0.0",
"v2.1.0-rc1",
"v2.1.0-rc0",
"v2.0.0-rc3",
"v2.0.0-rc2",
"v2.0.0-rc1",
"v2.0.0-rc0",
"v1.7.0",
"v1.7.0-rc2",
"v1.7.0-rc1",
"v1.7.0-rc0",
"v1.6.0",
"v1.6.0-rc3",
"v1.6.0-rc2",
"v1.6.0-rc1",
"v1.6.0-rc0",
"v1.5.0",
"v1.5.0-rc3",
"v1.5.0-rc2",
"v1.5.0-rc1",
"v1.5.0-rc0",
"v1.4.0",
"v1.4.0-rc2",
"v1.4.0-rc1",
"v1.4.0-rc0",
"v1.3.0",
"v1.3.0-rc2",
"v1.3.0-rc1",
"v1.3.0-rc0",
"v1.2.0",
"v1.2.0-rc3",
"v1.2.0-rc2",
"v1.2.0-rc1",
"v1.2.0-rc0",
"v1.1.0",
"v1.1.0-rc4",
"v1.1.0-rc3",
"v1.1.0-rc2",
"v1.1-rc2",
"v1.1-rc1",
"v1.1-rc0",
"v1.0",
"v1.0-rc4",
"v1.0-rc3",
"v1.0-rc2",
"v1.0-rc1",
"v1.0-rc0",
"v0.14.0-rc0",
"v0.13.0-rc0",
"v0.12.0-rc0",
"v0.11.0-rc0",
"v0.5.0",
"v0.4.4",
"v0.4.3",
"v0.4.2",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-5931.json"
}
}
],
"modified": "2026-10-24T10:31:02.205255055Z",
"provider": "osv",
"references": [
"https://security.gentoo.org/glsa/201702-28",
"https://bugzilla.redhat.com/show_bug.cgi?id=1420092",
"https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-5931",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439971,
"published_at": "2017-03-27T15:59:00.547+00:00"
}