CVE details
CVE-2023-3180
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 ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| emulators/qemu-cheri | qemu-cheri | 0.d20260108 | unaddressed | brooks@FreeBSD.org |
| emulators/qemu-user-static | qemu-user-static | 3.1.0_16 | unaddressed | emulation@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>qemu-cheri</name>
<range><lt>8.1.0</lt></range>
</package>
<package>
<name>qemu-user-static</name>
<range><lt>8.1.0</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2023-3180</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2023-3180</url>
</references>
<dates>
<discovery>2023-08-03</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>