Skip to content
Heist/ feed
Back to feed
MediumFix available

qemu — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-3416

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.

Products
qemu
Affected versions
Not specified
Fixed versions
1:5.2+dfsg-9
CVEs
CVE-2021-3416
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:34 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-3416

core-osv · Original source

Published 18 Mar 2021, 20:15 UTC

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.

osv:DEBIAN-CVE-2021-3416

qemu

Fixed versions: 1:5.2+dfsg-9

qemu

Fixed versions: 1:5.2+dfsg-9

qemu

Fixed versions: 1:5.2+dfsg-9

Complete source record
{
  "id": "59d0ff30db1ca78cc8afd9bfefca78300e9deaa557216561e55b5016e6a0ac4f",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3416",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-3416",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-3416",
    "products": [
      {
        "name": {
          "value": "qemu",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.2+dfsg-9",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "qemu",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.2+dfsg-9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "qemu",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1:5.2+dfsg-9",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-3416",
      "aliases": [
        "DEBIAN-CVE-2021-3416"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.2+dfsg-9"
                }
              ]
            }
          ],
          "package": {
            "name": "qemu",
            "purl": "pkg:deb/debian/qemu?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3416.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.2+dfsg-9"
                }
              ]
            }
          ],
          "package": {
            "name": "qemu",
            "purl": "pkg:deb/debian/qemu?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3416.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1:5.2+dfsg-9"
                }
              ]
            }
          ],
          "package": {
            "name": "qemu",
            "purl": "pkg:deb/debian/qemu?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3416.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:26.720292990Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-3416"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-3416"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-3416",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 421538,
  "published_at": "2021-03-18T20:15:13.3+00:00"
}