Home / Qemu / Qemu / CVE-2017-5987
CVE-2017-5987: is it exploited, and which versions of Qemu are affected and fixed?
CVE-2017-5987 is an infinite loop (denial of service) vulnerability in Qemu. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: qemu through 2.8.1.1, qemu 2.9.0 and debian linux 8.0 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:18 UTC and NVD November 19, 2026, 08:43 UTC.
What is CVE-2017-5987?
The sdhci_sdma_transfer_multi_blocks function in hw/sd/sdhci.c in QEMU (aka Quick Emulator) allows local OS guest privileged users to cause a denial of service (infinite loop and QEMU process crash) via vectors involving the transfer mode register during multi block transfer.
From the CVE record by mitre, last updated August 5, 2024, 15:18 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| qemu | qemu | through 2.8.1.1 | application |
| qemu | qemu | 2.9.0 | application |
| debian | debian linux | 8.0 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 01:21 UTC.
How severe is CVE-2017-5987?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
| Low 2.1 | CVSS 2.0 | AV:L/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2017-5987 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.42% probability of exploitation activity in the next 30 days, percentile 38.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-835 Loop with Unreachable Exit Condition
Where are the vendor advisories and references?
- 96263 vdb-entry, x_refsource_BID
- [debian-lts-announce] 20180906 [SECURITY] [DLA 1497-1] qemu security update mailing-list, x_refsource_MLIST
- http://git.qemu-project.org/?p=qemu.git%3Ba=commit%3Bh=6e86d90352adf6cb08295255220295cf23c4286e x_refsource_CONFIRM
- [oss-security] 20170214 CVE-2017-5987 Qemu: sd: infinite loop issue in multi block transfers mailing-list, x_refsource_MLIST
- [qemu-devel] 20170213 Re: [Qemu-devel] [PATCH v3 1/4] sd: sdhci: check transfer mode register in multi block transfer mailing-list, x_refsource_MLIST
- https://bugzilla.redhat.com/show_bug.cgi?id=1421995 x_refsource_CONFIRM
- GLSA-201704-01 vendor-advisory, x_refsource_GENTOO
When was it published, and where is the official record?
- Reserved
- February 14, 2017
- Published
- March 20, 2017, 16:00 UTC
- CVE record updated
- August 5, 2024, 15:18 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:21 UTC
- Last checked
- CVE list November 19, 2026, 07:18 UTC; NVD November 19, 2026, 08:43 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Qemu?
- Jul 25, 2025CVE-2025-54567 QEMU: incorrect Provision of Specified Functionality
- Jul 25, 2025CVE-2025-54566 QEMU: external Control of Critical State Data
- Feb 20, 2024CVE-2024-24474 Qemu: buffer overflow
- Feb 19, 2024CVE-2024-26328 Qemu: out-of-bounds write (memory corruption)
- Feb 19, 2024CVE-2024-26327 Qemu: out-of-bounds write (memory corruption)
- Dec 6, 2023CVE-2023-2861 Qemu: improper access control
- Sep 13, 2023CVE-2023-2680 qemu: use after free
- Sep 13, 2023CVE-2023-3301 qemu: reachable assertion (crash)
Questions about CVE-2017-5987
Is CVE-2017-5987 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 0.42% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Qemu are affected by CVE-2017-5987?
qemu through 2.8.1.1, qemu 2.9.0 and debian linux 8.0, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2017-5987?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2017-5987?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2017-5987?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.