# CVE-2023-3180: Heap buffer overflow in virtio_crypto_sym_op_helper()

- Severity: Medium 6.0 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H`
- 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.23%, higher than 14% of CVEs (2026-12-01)
- Published: 2023-08-03T14:31:36.083Z
- Modified: 2026-06-17T06:13:31.707Z
- Weaknesses: CWE-122, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## Description

A flaw was found in the QEMU virtual crypto device while handling data encryption/decryption requests in virtio_crypto_handle_sym_req. There is no check for the value of `src_len` and `dst_len` in virtio_crypto_sym_op_helper, potentially leading to a heap buffer overflow when the two values differ.

(As written by CVE List.)

## Affected

- qemu: no versions given
- qemu-kvm: no versions given
- qemu-kvm-ma: no versions given
- virt:rhel/qemu-kvm: no versions given
- virt:av/qemu-kvm: no versions given
- qemu qemu: before 8.1.0; 8.1.0
- fedoraproject fedora: 38
- debian debian_linux: 10.0

## Every score

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

## References

- <https://access.redhat.com/security/cve/CVE-2023-3180> (third-party-advisory, vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2222424> (issue-tracking, patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00006.html> (mailing-list, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MURWGXDIF2WTDXV36T6HFJDBL632AO7R/> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230831-0008/> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-3180](https://www.cve.org/CVERecord?id=CVE-2023-3180), CVE Terms of Use, modified 2024-09-25
- NVD: [CVE-2023-3180](https://nvd.nist.gov/vuln/detail/CVE-2023-3180), Public domain, modified 2026-06-17

---

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