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

Published Jul 12, 2023
·
Updated

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

Other sources

A heap buffer overflow was found in virtiocryptosymophelper() in hw/virtio/virtio-crypto.c. It could occur while handling data encryption/dencryption requests in virtiocryptohandlesymreq(). There is no check for the value of the srclen and the dstlen in virtiocryptosymophelper(), so if srclen is not equal to dstlen, a heap based buff overflow occurs while encrypting/dencrypting the data.

Red Hat

Heap buffer overflow in virtiocryptosymophelper()

Microsoft

Affected Software

11 affected componentsFixes available
debian/qemu<=1:5.2+dfsg-11+deb11u2
1:5.2+dfsg-11+deb11u31:7.2+dfsg-7+deb12u71:9.0.2+ds-21:9.1.0+ds-3
Qemu Qemu
Fedoraproject Fedora=38
Debian Debian Linux=10.0
Qemu Qemu<8.1.0
Qemu Qemu=8.1.0-rc0
Qemu Qemu=8.1.0-rc1
Qemu Qemu=8.1.0-rc2
Microsoft cbl2 qemu 6.2.0-23
Microsoft azl3 qemu 8.2.0-1
Microsoft azl3 qemu 6.2.0-18

Event History

Jul 12, 2023
Data Sourced
via Red Hat·05:20 PM
DescriptionSeverityAffected Software
Aug 3, 2023
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
DescriptionSeverityWeakness
Data Sourced
03:15 PM
Description
Jan 12, 2024
Data Sourced
via Launchpad·08:48 PM
Description
Sep 11, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Sep 16, 2024
Data Sourced
via Ubuntu·09:25 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-3180?

CVE-2023-3180 is a vulnerability found in the QEMU virtual crypto device that can lead to a heap buffer overflow.

2

What is the severity of CVE-2023-3180?

CVE-2023-3180 has a severity level of medium.

3

How does CVE-2023-3180 affect QEMU?

CVE-2023-3180 affects QEMU's virtual crypto device, specifically the handling of data encryption/decryption requests in virtio_crypto_handle_sym_req.

4

Are there any known fixes for CVE-2023-3180?

At the moment, there are no known fixes available for CVE-2023-3180.

5

What are the references for CVE-2023-3180?

The references for CVE-2023-3180 are: https://bugzilla.redhat.com/show_bug.cgi?id=2222424, https://access.redhat.com/security/cve/CVE-2023-3180, and https://lists.nongnu.org/archive/html/qemu-devel/2023-08/msg00401.html.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203