Buffer overflow in Qemu
CVE-2023-6693
A stack based buffer overflow was found in the virtio-net device of QEMU. This issue occurs when flushing TX in the virtio_net_flush_tx function if guest features VIRTIO_NET_F_HASH_REPORT, VIRTIO_F_VERSION_1 and VIRTIO_NET_F_MRG_RXBUF are enabled. This could allow a malicious user to overwrite local variables allocated on the stack. Specifically, the `out_sg` variable could be used to read a part of process memory and send it to the wire, causing an information leak.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 26.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2024:2962 (vendor-advisory)
- access.redhat.com/errata/RHSA-2025:4492 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2023-6693 (Third Party Advisory, vdb-entry)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Patch, Issue Tracking)
- lists.debian.org/debian-lts-announce/2025/04/msg00042.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- security.netapp.com/advisory/ntap-20240208-0004/