Skip to content
Fencer Vulns
medium 6.0

CVE-2023-3180 json

Heap buffer overflow in virtio_crypto_sym_op_helper()

published 2023-08-03 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-43861

cvss
6.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 14%
public exploits
0
none known

Summary

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.

Patch / fix

  • qemu qemu 8.1.0
  • qemu Debian 12 1:7.2+dfsg-7+deb12u2
  • qemu Debian 14, Debian 13 1:8.0.4+dfsg-1

debian advisories DEBIAN-CVE-2023-3180

  • qemu Ubuntu 20.04 LTS 1:4.2-3ubuntu6.28
  • qemu Ubuntu 22.04 LTS 1:6.2+dfsg-2ubuntu6.16
  • qemu Ubuntu Pro 18.04 LTS 1:2.11+dfsg-1ubuntu7.42+esm5

ubuntu advisories UBUNTU-CVE-2023-3180

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • qemu SLES for SAP 12 SP5, SLES 12 SP5 3.1.1.1-72.1
  • qemu SLE Module for Server Applications 15 SP5, SLE Module for Package Hub 15 SP5, SLE Module for Basesystem 15 SP5 +2 more 7.1.0-150500.49.9.2
  • qemu SLE Module for Server Applications 15 SP4, SLE Module for Basesystem 15 SP4, SLE Micro 5.4 +2 more 6.2.0-150400.37.23.1
  • qemu SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS +1 more 4.2.1-150200.79.1
  • qemu SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +6 more 5.2.0-150300.127.3
  • qemu SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS 3.1.1.1-150100.80.51.5

suse advisories SUSE-SU-2024:1395-1SUSE-SU-2024:0589-1SUSE-SU-2023:4662-1SUSE-SU-2023:4056-1SUSE-SU-2023:3800-1SUSE-SU-2023:3721-1

  • qemu openSUSE Tumbleweed 8.0.4-1.1

opensuse advisories openSUSE-SU-2024:13114-1

  • qemu CBL-Mariner 2.0 6.2.0-23
  • qemu Azure Linux 3.0 8.2.0-1

azure linux advisories AZL-31817AZL-35168

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-3180 updated cvss 6.0

QEMU: virtio-crypto: heap buffer overflow in virtio_crypto_sym_op_helper()

  • Red Hat Enterprise Linux 6 qemu-img, qemu-kvm, qemu-kvm-tools, qemu-guest-agent, qemu-guest-agent-win32 Red Hat Enterprise Linux 7 qemu-img, qemu-kvm, libcacard, qemu-img-ma, qemu-kvm-ma, qemu-kvm-tools, +5 more Red Hat Enterprise Linux 8 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, qemu-guest-agent, +8 more Red Hat Enterprise Linux 8 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat Enterprise Linux 9 qemu-img, qemu-kvm, qemu-kvm-core, qemu-kvm-tools, qemu-pr-helper, qemu-kvm-common, +16 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.0 CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
NVD 3.1 6.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H

Affected products

  • n/a qemu
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8 Advanced Virtualization
  • Red Hat Red Hat Enterprise Linux 9
  • Fedora Fedora
  • Fedora Extra Packages for Enterprise Linux

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.