# CVE-2023-6693: Qemu: virtio-net: stack buffer overflow in virtio_net_flush_tx()

- Severity: Medium 4.9 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2024-01-02T09:15:08.280Z
- Modified: 2026-11-05T12:17:38.467Z
- Weaknesses: CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

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.

(As written by CVE List.)

## Affected

- virt-devel:rhel: no versions given (not affected: from 8100020240314161907.e155f54d before *)
- virt:rhel: no versions given (not affected: from 8100020240314161907.e155f54d before *)
- qemu-kvm: no versions given (not affected: from 17:9.0.0-10.el9_5.3 before *)
- qemu-kvm-ma: no versions given
- virt:av/qemu-kvm: no versions given
- qemu qemu: before 8.2.1
- redhat enterprise_linux: 8.0; 9.0
- fedoraproject fedora: 39

## Every score

- redhat: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`

## References

- <https://access.redhat.com/errata/RHSA-2024:2962> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2025:4492> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2023-6693> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2254580> (issue-tracking, patch)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OYGUN5HVOXESW7MSNM44E4AE2VNXQB6Y/>
- <https://security.netapp.com/advisory/ntap-20240208-0004/>
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00042.html>

## Sources

- CVE List: [CVE-2023-6693](https://www.cve.org/CVERecord?id=CVE-2023-6693), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2023-6693](https://nvd.nist.gov/vuln/detail/CVE-2023-6693), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2023-6693 · Whole record: https://cve.day/CVE-2023-6693.json · Rebuilt by cve.day 2026-11-25T22:58:31.849Z
