CVE-2015-7504: Buffer Overflow

Published Sep 9, 2015
·
Updated

Heap-based buffer overflow in the pcnetreceive function in hw/net/pcnet.c in QEMU allows guest OS administrators to cause a denial of service (instance crash) or possibly execute arbitrary code via a series of packets in loopback mode.

Other sources

Qemu emulator built with the AMD PC-Net II Ethernet Controller support is vulnerable to a heap buffer overflow flaw. While receiving packets in the loopback mode, it appends CRC code to the receive buffer. If the data size given is same as the receive buffer size, the appended CRC code overwrites 4 bytes beyond this 's->buffer' array.

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

Upstream fix: ------------- -> http://git.qemu.org/?p=qemu.git;a=commit;h=837f21aacf5a714c23ddaadbbc5212f9

Reference: ---------- -> http://www.openwall.com/lists/oss-security/2015/11/30/2 -> http://www.openwall.com/lists/oss-security/2015/11/30/5

— Red Hat

Affected Software

9 affected componentsFixes available
Qemu Qemu<=2.4.1
Qemu Qemu=2.5.0-rc0
Qemu Qemu=2.5.0-rc1
Qemu Qemu=2.5.0-rc2
XEN Xen
Debian Debian Linux=7.0
Debian Debian Linux=8.0
debian/qemu
1.1.2+dfsg-6a+deb7u121:2.1+dfsg-12+deb8u5a1:2.5+dfsg-1
debian/qemu-kvm
1.1.2+dfsg-6+deb7u12

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1.1.2+dfsg-6a+deb7u12Fixed in 1:2.1+dfsg-12+deb8u5aFixed in 1:2.5+dfsg-1
  2. Upgrade

    Upgrade debian/qemu-kvm to a version that resolves this vulnerability.

    Fixed in 1.1.2+dfsg-6+deb7u12
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 837f21aacf5a714c23ddaadbbc5212f9

Event History

Sep 9, 2015
Data Sourced
via Red Hat·11:40 AM
DescriptionSeverityAffected Software
Oct 16, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2015-7504?

CVE-2015-7504 has a high severity due to its potential for causing denial of service and executing arbitrary code.

2

How do I fix CVE-2015-7504?

To fix CVE-2015-7504, upgrade QEMU to versions later than 2.4.1 and include all security patches.

3

What causes CVE-2015-7504?

CVE-2015-7504 is caused by a heap-based buffer overflow in the pcnet_receive function within QEMU.

4

Which systems are affected by CVE-2015-7504?

CVE-2015-7504 affects QEMU versions up to 2.4.1 and specific release candidates of version 2.5.0.

5

Can CVE-2015-7504 lead to remote code execution?

Yes, CVE-2015-7504 can potentially allow an attacker to execute arbitrary code through specially crafted packets.

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