Skip to content
Noroxi
CVE-2021-3416· NVD / CVE Program· CNA redhat

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0.

A potential stack overflow via infinite loop issue was found in various NIC emulators of QEMU in versions up to and including 5.2.0. The issue occurs in loopback mode of a NIC wherein reentrant DMA checks get bypassed. A guest user/process may use this flaw to consume CPU cycles or crash the QEMU process on the host resulting in DoS scenario.

MediumCVSS 6.0 · v3.1—No exploit Fix available

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help
Published
Mar 18, 2021
Updated
Jun 17, 2026
EPSS
0.5% · 37th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
24 / 40 · 6.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Affected systems

VendorProduct
qemuqemu
fedoraprojectfedora
redhatenterprise linux
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • debian debian linux9.0
  • fedoraproject fedora33
  • qemu qemuup to 5.2.0 inclusive
  • redhat enterprise linux6.0
  • redhat enterprise linux7.0
  • redhat enterprise linux8.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a QEMU

    • versions up to and including 5.2.0affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8libguestfs-winsupportbefore 8.2-1.module_el8.5.0+2608+720633658.2-1.module_el8.5.0+2608+72063365
AlmaLinux:8libiscsibefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libiscsibefore 1.18.0-8.module_el8.5.0+2608+720633651.18.0-8.module_el8.5.0+2608+72063365
AlmaLinux:8libiscsi-develbefore 1.18.0-8.module_el8.5.0+2608+720633651.18.0-8.module_el8.5.0+2608+72063365
AlmaLinux:8libiscsi-develbefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libiscsi-utilsbefore 1.18.0-8.module_el8.5.0+2608+720633651.18.0-8.module_el8.5.0+2608+72063365
AlmaLinux:8libiscsi-utilsbefore 1.18.0-8.module_el8.6.0+2880+7d9e37031.18.0-8.module_el8.6.0+2880+7d9e3703
AlmaLinux:8libnbdbefore 1.2.2-1.module_el8.5.0+2608+720633651.2.2-1.module_el8.5.0+2608+72063365
AlmaLinux:8libnbd-develbefore 1.2.2-1.module_el8.5.0+2608+720633651.2.2-1.module_el8.5.0+2608+72063365
AlmaLinux:8libvirt-dbusbefore 1.3.0-2.module_el8.5.0+2608+720633651.3.0-2.module_el8.5.0+2608+72063365
AlmaLinux:8libvirt-dbusbefore 1.3.0-2.module_el8.6.0+2880+7d9e37031.3.0-2.module_el8.6.0+2880+7d9e3703
AlmaLinux:8nbdfusebefore 1.2.2-1.module_el8.5.0+2608+720633651.2.2-1.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkitbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-bash-completionbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-basic-filtersbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-basic-pluginsbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-curl-pluginbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-develbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-example-pluginsbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-gzip-pluginbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-linuxdisk-pluginbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-python-pluginbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-serverbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365
AlmaLinux:8nbdkit-ssh-pluginbefore 1.16.2-4.module_el8.5.0+2608+720633651.16.2-4.module_el8.5.0+2608+72063365

+96

Same product

qemu: all records

Other highest-scoring records for the same primary product.

  • CVE-2019-12928The QMP migrate command in QEMU version 4.0.0 and earlier is vulnerable to OS command injection, which allows the remote attacker to achieve
    46Plan
  • CVE-2015-8556Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1.
    44Plan
  • CVE-2017-15118A stack-based buffer overflow vulnerability was found in NBD server implementation in qemu before 2.11 allowing a client to request an expor
    43Plan
  • CVE-2022-36648The hardware emulation in the of_dpa_cmd_add_l2_flood of rocker device model in QEMU, as used in 7.0.0 and earlier, allows remote attackers
    41Plan
  • CVE-2017-16845hw/input/ps2.c in Qemu does not validate 'rptr' and 'count' values during guest migration, leading to out-of-bounds access.
    41Plan
  • CVE-2016-7161Heap-based buffer overflow in the .receive callback of xlnx.xps-ethernetlite in QEMU (aka Quick Emulator) allows attackers to execute arbitr
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:libguestfs-winsupport8.2-1.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:libiscsi1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libiscsi-devel1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:libnbd1.2.2-1.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:libnbd-devel1.2.2-1.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703 · AlmaLinux:8Package registry (OSV)
almalinux:nbdfuse1.2.2-1.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:nbdkit1.16.2-4.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:nbdkit-bash-completion1.16.2-4.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:nbdkit-basic-filters1.16.2-4.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
almalinux:nbdkit-basic-plugins1.16.2-4.module_el8.5.0+2608+72063365 · AlmaLinux:8Package registry (OSV)
debian:qemu1:5.2+dfsg-9 · Debian:12Package registry (OSV)
opensuse:qemu4.2.1-lp152.9.12.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:qemu-linux-user4.2.1-lp152.9.12.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:qemu-testsuite4.2.1-lp152.9.12.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:hivex0:1.3.18-21.module+el8.4.0+10770+19c037f9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:hivex-debuginfo0:1.3.18-21.module+el8.4.0+10770+19c037f9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:hivex-debugsource0:1.3.18-21.module+el8.4.0+10770+19c037f9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:hivex-devel0:1.3.18-21.module+el8.4.0+10770+19c037f9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs-bash-completion1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs-benchmarking1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs-benchmarking-debuginfo1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs-debuginfo1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs-debugsource1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:libguestfs-devel1:1.40.2-27.module+el8.4.0+9282+0bdec052 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:SLOF0:20191022-3.git899d9883.module+el8.3.0+6423+e4cb6418 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:hivex0:1.3.18-21.module+el8.4.0+642+7e26f5e1 · Rocky Linux:8Package registry (OSV)
rocky linux:libguestfs1:1.40.2-27.module+el8.4.0+534+4680a14e · Rocky Linux:8Package registry (OSV)

+12

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • Administrator privileges are required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records