{"api_version":"1","generated_at":"2026-04-23T06:58:47+00:00","cve":"CVE-2017-5856","urls":{"html":"https://cve.report/CVE-2017-5856","api":"https://cve.report/api/cve/CVE-2017-5856.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-5856","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-5856"},"summary":{"title":"CVE-2017-5856","description":"Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (host memory consumption) via MegaRAID Firmware Interface (MFI) commands with the sglist size set to a value over 2 Gb.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2017-03-16 15:59:00","updated_at":"2023-02-12 23:29:00"},"problem_types":["CWE-401"],"metrics":[],"references":[{"url":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=765a707000e838c30b18d712fe6cb3dd8e0435f3","name":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=765a707000e838c30b18d712fe6cb3dd8e0435f3","refsource":"MISC","tags":[],"title":"git.qemu.org Git - qemu.git/commit","mime":"text/xml","httpstatus":"200","archivestatus":"200"},{"url":"http://git.qemu-project.org/?p=qemu.git;a=commit;h=765a707000e838c30b18d712fe6cb3dd8e0435f3","name":"http://git.qemu-project.org/?p=qemu.git;a=commit;h=765a707000e838c30b18d712fe6cb3dd8e0435f3","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://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":"https://lists.debian.org/debian-lts-announce/2018/09/msg00007.html","name":"[debian-lts-announce] 20180906 [SECURITY] [DLA 1497-1] qemu security update","refsource":"MLIST","tags":["Third Party Advisory"],"title":"[SECURITY] [DLA 1497-1] qemu security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1418342","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1418342","refsource":"CONFIRM","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"Bug 1418342 – CVE-2017-5856 Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2017/02/01/19","name":"[oss-security] 20170201 CVE request Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - CVE request Qemu: scsi: megasas: host memory leakage in\n megasas_handle_dcmd","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2017/02/02/14","name":"[oss-security] 20170202 Re: CVE request Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd","refsource":"MLIST","tags":["Mailing List","Patch","Third Party Advisory"],"title":"oss-security - Re: CVE request Qemu: scsi: megasas: host memory leakage in megasas_handle_dcmd","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/95999","name":"95999","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"QEMU 'hw/scsi/megasas.c' Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5856","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5856","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"5856","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"5856","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2017","cve_id":"5856","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-5856","qid":"501229","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2017-5856","qid":"505339","title":"Alpine Linux Security Update for qemu"},{"cve":"CVE-2017-5856","qid":"710393","title":"Gentoo Linux QEMU Multiple Vulnerabilities (GLSA 201702-28)"},{"cve":"CVE-2017-5856","qid":"900063","title":"CBL-Mariner Linux Security Update for qemu-kvm 4.2.0"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2017-5856","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (host memory consumption) via MegaRAID Firmware Interface (MFI) commands with the sglist size set to a value over 2 Gb."}]},"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://lists.debian.org/debian-lts-announce/2018/09/msg00007.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2018/09/msg00007.html"},{"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=765a707000e838c30b18d712fe6cb3dd8e0435f3","refsource":"MISC","name":"http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=765a707000e838c30b18d712fe6cb3dd8e0435f3"},{"url":"http://www.openwall.com/lists/oss-security/2017/02/01/19","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2017/02/01/19"},{"url":"http://www.openwall.com/lists/oss-security/2017/02/02/14","refsource":"MISC","name":"http://www.openwall.com/lists/oss-security/2017/02/02/14"},{"url":"http://www.securityfocus.com/bid/95999","refsource":"MISC","name":"http://www.securityfocus.com/bid/95999"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1418342","refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1418342"}]}},"nvd":{"publishedDate":"2017-03-16 15:59:00","lastModifiedDate":"2023-02-12 23:29:00","problem_types":["CWE-401"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2,"impactScore":4},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:N/A:C","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"COMPLETE","baseScore":4.9},"severity":"MEDIUM","exploitabilityScore":3.9,"impactScore":6.9,"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":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"5856","Ordinal":"102449","Title":"CVE-2017-5856","CVE":"CVE-2017-5856","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"5856","Ordinal":"1","NoteData":"Memory leak in the megasas_handle_dcmd function in hw/scsi/megasas.c in QEMU (aka Quick Emulator) allows local guest OS privileged users to cause a denial of service (host memory consumption) via MegaRAID Firmware Interface (MFI) commands with the sglist size set to a value over 2 Gb.","Type":"Description","Title":null},{"CveYear":"2017","CveId":"5856","Ordinal":"2","NoteData":"2017-03-16","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"5856","Ordinal":"3","NoteData":"2018-09-07","Type":"Other","Title":"Modified"}]}}}