CVE-2017-5931: Integer Overflow

Published Feb 7, 2017
·
Updated

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.

Other sources

Quick Emulator(Qemu) built with the Virtio crypto device emulation support is vulnerable to an integer overflow issue. It could occur while handling data encryption/decryption requests in 'virtiocryptohandlesymreq'.

A privileged user inside guest could use this flaw to crash the Qemu process resulting in DoS or potentially execute arbitrary code on the host with privileges of the Qemu process.

Upstream patch: --------------- -> https://lists.nongnu.org/archive/html/qemu-devel/2017-01/msg01368.html

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2017/02/07/8

Red Hat

Affected Software

1 affected component
Qemu Qemu<=2.8.1.1

Event History

Feb 7, 2017
Data Sourced
via Red Hat·06:52 PM
DescriptionSeverityAffected Software
Mar 27, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-5931?

CVE-2017-5931 has a severity rating of High due to its potential to cause a denial of service and possible arbitrary code execution.

2

How do I fix CVE-2017-5931?

To mitigate CVE-2017-5931, upgrade to QEMU version 2.8.1.2 or later, which addresses the integer overflow vulnerability.

3

Who is affected by CVE-2017-5931?

Local guest OS privileged users of QEMU versions prior to 2.8.1.2 are affected by CVE-2017-5931.

4

What are the potential impacts of CVE-2017-5931?

The impacts of CVE-2017-5931 include the possibility of a QEMU process crash and the risk of executing arbitrary code on the host.

5

What component of QEMU does CVE-2017-5931 affect?

CVE-2017-5931 specifically affects the hw/virtio/virtio-crypto.c component of QEMU.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203