CVE-2016-7161
published 2016-10-05CVE-2016-7161: Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the…
PriorityP354critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
6.06%
92.6th percentile
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | qemu | < qemu 1:2.7+dfsg-1 (bookworm) | qemu 1:2.7+dfsg-1 (bookworm) |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cm1_qemu-kvm_4.2.0-12_on_cbl_mariner_1.0 | — | — |
| qemu | qemu | <= 2.6.2 | — |
| qemu | qemu | — | — |
| qemu | qemu | >= 0 < 1:2.7+dfsg-1 | 1:2.7+dfsg-1 |
| qemu | qemu | >= 0 < 1:2.7+dfsg-1 | 1:2.7+dfsg-1 |
| qemu | qemu | >= 0 < 1:2.7+dfsg-1 | 1:2.7+dfsg-1 |
| qemu | qemu | >= 0 < 1:2.7+dfsg-1 | 1:2.7+dfsg-1 |
| qemu | qemu | >= 0 < 2.0.0+dfsg-2ubuntu1.30 | 2.0.0+dfsg-2ubuntu1.30 |
| qemu | qemu | >= 0 < 1:2.5+dfsg-5ubuntu10.6 | 1:2.5+dfsg-5ubuntu10.6 |
Detection & IOCsextracted from sources · hover to see the quote
- →The vulnerability is triggered via a large ethlite packet sent to the xlnx.xps-ethernetlite virtual NIC in QEMU; monitor for oversized packets targeting this device model as a potential exploitation indicator. ↗
- →The root cause is the absence of a length check before memcpy in the .receive callback of xlnx.xps-ethernetlite; detection logic should flag any guest-to-host network path through this device where packet length is not validated. ↗
- →The upstream fix commit can be used as a patch-level detection reference to verify whether a QEMU binary has been patched against this vulnerability. ↗
- ·All versions of QEMU that include the xlnx.xps-ethernetlite device model are affected; exploitation requires the guest to be configured with this specific virtual NIC. ↗
- ·Red Hat Enterprise Linux 6 and 7 qemu-kvm packages were assessed as not affected, suggesting their builds do not expose the vulnerable device model. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9mvr-f38r-9r65: Heap-based buffer overflow in the
ghsa_unreviewed·2022-05-13
CVE-2016-7161 [CRITICAL] CWE-787 GHSA-9mvr-f38r-9r65: Heap-based buffer overflow in the
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
OSV
qemu, qemu-kvm vulnerabilities
osv·2016-11-09·CVSS 5.5
CVE-2016-5403 [MEDIUM] qemu, qemu-kvm vulnerabilities
qemu, qemu-kvm vulnerabilities
Zhenhao Hong discovered that QEMU incorrectly handled the Virtio module. A
privileged attacker inside the guest could use this issue to cause QEMU to
consume resources, resulting in a denial of service. (CVE-2016-5403)
Li Qiang discovered that QEMU incorrectly handled VMWARE VMXNET3 network
card emulation support. A privileged attacker inside the guest could use
this issue to cause QEMU to crash, resulting in a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10.
(CVE-2016-6833, CVE-2016-6834, CVE-2016-6888)
Li Qiang discovered that QEMU incorrectly handled VMWARE VMXNET3 network
card emulation support. A privileged attacker inside the guest could use
this issue to cause QEMU to crash, resulting in a denial of se
OSV
CVE-2016-7161: Heap-based buffer overflow in the
osv·2016-10-05·CVSS 9.8
CVE-2016-7161 [CRITICAL] CVE-2016-7161: Heap-based buffer overflow in the
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
Ubuntu
QEMU vulnerabilities
vendor_ubuntu·2016-11-09·CVSS 5.5
CVE-2016-5403 [MEDIUM] QEMU vulnerabilities
Title: QEMU vulnerabilities
Summary: Several security issues were fixed in QEMU.
Zhenhao Hong discovered that QEMU incorrectly handled the Virtio module. A
privileged attacker inside the guest could use this issue to cause QEMU to
consume resources, resulting in a denial of service. (CVE-2016-5403)
Li Qiang discovered that QEMU incorrectly handled VMWARE VMXNET3 network
card emulation support. A privileged attacker inside the guest could use
this issue to cause QEMU to crash, resulting in a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10.
(CVE-2016-6833, CVE-2016-6834, CVE-2016-6888)
Li Qiang discovered that QEMU incorrectly handled VMWARE VMXNET3 network
card emulation support. A privileged attacker inside the guest could use
this issue
Microsoft
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
vendor_msrc·2016-10-11·CVSS 9.8
CVE-2016-7161 [CRITICAL] CWE-787 Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to
Red Hat
Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
vendor_redhat·2016-09-23·CVSS 9.8
CVE-2016-7161 [CRITICAL] CWE-122 Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
Package: kvm (Red Hat Enterprise Linux 5) - Not affected
Package: xen (Red Hat Enterprise Linux 5) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 6) - Not affected
Package: qemu-kvm (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux 7) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse)) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise Linux OpenStack Platform 6 (Juno)) - Not affected
Package: qemu-kvm-rhev (Red Hat Enterprise L
Debian
CVE-2016-7161: qemu - Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in ...
vendor_debian·2016·CVSS 9.8
CVE-2016-7161 [CRITICAL] CVE-2016-7161: qemu - Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in ...
Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitrary code on the QEMU host via a large ethlite packet.
Scope: local
bookworm: resolved (fixed in 1:2.7+dfsg-1)
bullseye: resolved (fixed in 1:2.7+dfsg-1)
forky: resolved (fixed in 1:2.7+dfsg-1)
sid: resolved (fixed in 1:2.7+dfsg-1)
trixie: resolved (fixed in 1:2.7+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-7161 qemu: hw: net: Heap overflow in xlnx.xps-ethernetlite [fedora-all]
bugzilla·2016-09-26·CVSS 9.8
CVE-2016-7161 [CRITICAL] CVE-2016-7161 qemu: hw: net: Heap overflow in xlnx.xps-ethernetlite [fedora-all]
CVE-2016-7161 qemu: hw: net: Heap overflow in xlnx.xps-ethernetlite [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions
Bugzilla
CVE-2016-7161 Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
bugzilla·2016-09-26·CVSS 9.8
CVE-2016-7161 [CRITICAL] CVE-2016-7161 Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
CVE-2016-7161 Qemu: net: xilinx_ethlite: heap buffer overflow in eth_rx
The .receive callback of xlnx.xps-ethernetlite doesn't check the length of data before calling memcpy. As a result, the NetClientState object in heap will be overflowed. All versions of qemu with xlnx.xps-ethernetlite are affected.
Upstream patch:
http://git.qemu.org/?p=qemu.git;a=commit;h=a0d1cbdacff5df4ded16b753b38fdd9da6092968
CVE assignment:
http://seclists.org/oss-sec/2016/q3/603
Discussion:
Created xen tracking bugs for this issue:
Affects: fedora-all [bug 1379299]
---
Created qemu tracking bugs for this issue:
Affects: fedora-all [bug 1379298]
Bugzilla
CVE-2016-7161 xen: qemu: hw: net: Heap overflow in xlnx.xps-ethernetlite [fedora-all]
bugzilla·2016-09-26·CVSS 9.8
CVE-2016-7161 [CRITICAL] CVE-2016-7161 xen: qemu: hw: net: Heap overflow in xlnx.xps-ethernetlite [fedora-all]
CVE-2016-7161 xen: qemu: hw: net: Heap overflow in xlnx.xps-ethernetlite [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported vers
http://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=a0d1cbdacff5df4ded16b753b38fdd9da6092968http://lists.opensuse.org/opensuse-updates/2016-12/msg00140.htmlhttp://www.openwall.com/lists/oss-security/2016/09/23/6http://www.openwall.com/lists/oss-security/2016/09/23/8http://www.securityfocus.com/bid/93141https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-08/msg01598.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-08/msg01877.htmlhttps://security.gentoo.org/glsa/201611-11http://git.qemu.org/?p=qemu.git%3Ba=commit%3Bh=a0d1cbdacff5df4ded16b753b38fdd9da6092968http://lists.opensuse.org/opensuse-updates/2016-12/msg00140.htmlhttp://www.openwall.com/lists/oss-security/2016/09/23/6http://www.openwall.com/lists/oss-security/2016/09/23/8http://www.securityfocus.com/bid/93141https://lists.debian.org/debian-lts-announce/2018/11/msg00038.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-08/msg01598.htmlhttps://lists.gnu.org/archive/html/qemu-devel/2016-08/msg01877.htmlhttps://security.gentoo.org/glsa/201611-11
2016-10-05
Published