{"schema_version":"1.9.0","id":"CVE-2023-3180","published":"2023-08-03T14:31:36.083Z","modified":"2026-08-12T03:51:32.215015226Z","related":["SUSE-SU-2023:3444-1","SUSE-SU-2023:3721-1","SUSE-SU-2023:3800-1","SUSE-SU-2023:4056-1","SUSE-SU-2023:4662-1","SUSE-SU-2024:0589-1","SUSE-SU-2024:1395-1","openSUSE-SU-2024:13114-1"],"summary":"Heap buffer overflow in virtio_crypto_sym_op_helper()","details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/qemu/qemu","events":[{"introduced":"0"},{"fixed":"7e5a8bb22368b3555644cb2debd3df24592f3a21"},{"introduced":"2c27fdc7a626408ee2cf30d791aa0b63027c7404"},{"last_affected":"9ba37026fcf6b7f3f096c0cca3e1e7307802486b"}],"database_specific":{"cpe":["cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:8.1.0:rc0:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:8.1.0:rc1:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:8.1.0:rc2:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"8.1.0"},{"introduced":"8.1.0-rc0"},{"last_affected":"8.1.0-rc0"},{"introduced":"8.1.0-rc1"},{"last_affected":"8.1.0-rc1"},{"introduced":"8.1.0-rc2"},{"last_affected":"8.1.0-rc2"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["8.1.0-rc0","8.1.0-rc1","8.1.0-rc2","v8.1.0-rc4","v8.1.0-rc3","v8.1.0-rc2","v8.1.0-rc1","v8.1.0-rc0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3180.json"}},{"ranges":[{"type":"GIT","repo":"https://gitlab.com/qemu-project/qemu","events":[{"introduced":"0"},{"fixed":"7e5a8bb22368b3555644cb2debd3df24592f3a21"},{"introduced":"2c27fdc7a626408ee2cf30d791aa0b63027c7404"},{"last_affected":"9ba37026fcf6b7f3f096c0cca3e1e7307802486b"}],"database_specific":{"cpe":["cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:8.1.0:rc0:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:8.1.0:rc1:*:*:*:*:*:*","cpe:2.3:a:qemu:qemu:8.1.0:rc2:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0"},{"fixed":"8.1.0"},{"introduced":"8.1.0-rc0"},{"last_affected":"8.1.0-rc0"},{"introduced":"8.1.0-rc1"},{"last_affected":"8.1.0-rc1"},{"introduced":"8.1.0-rc2"},{"last_affected":"8.1.0-rc2"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["8.1.0-rc0","8.1.0-rc1","8.1.0-rc2","v8.1.0-rc4","v8.1.0-rc3","v8.1.0-rc2","v8.1.0-rc1","v8.1.0-rc0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3180.json"}}],"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00006.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MURWGXDIF2WTDXV36T6HFJDBL632AO7R/"},{"type":"WEB","url":"https://packages.fedoraproject.org/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2023-3180"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3180.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3180"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230831-0008/"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2222424"}],"database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-122"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3180.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H"}]}