Cyber Resilience

CVE-2023-3180

Memory Safety in Qemu ≤ 8.1.0

Published
03 August 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
EPSS Score 0.0023 15th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2023-3180 is a medium-severity Heap-based Buffer Overflow (CWE-122) vulnerability in Qemu Qemu. Its CVSS base score is 6.0 (Medium).

Operationally, ranked at the 15th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

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…

more

values differ.

CWE(s)

Related Threats

CVEs Like This One

CVE-2020-25682Same product: Debian Debian Linux
CVE-2023-0330Same product: Debian Debian Linux
CVE-2023-4504Same product: Debian Debian Linux
CVE-2023-1810Same product: Debian Debian Linux
CVE-2023-40569Same product: Debian Debian Linux
CVE-2020-25681Same product: Debian Debian Linux
CVE-2023-40567Same product: Debian Debian Linux
CVE-2023-4353Same product: Debian Debian Linux
CVE-2023-1812Same product: Debian Debian Linux
CVE-2023-43641Same product: Debian Debian Linux

Affected Assets

qemu
qemu
8.1.0 · ≤ 8.1.0
fedoraproject
fedora
38
debian
debian linux
10.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V1.4.1

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-787

Out-of-bounds writes that corrupt control flow or inject shellcode are rendered non-executable by the same memory protections.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 full match
prevents

Secure-development practices directly require bounds checking and safe memory handling that prevent heap overflows.

ID.RA-01 partial match
prevents

Vulnerability scanning and recording can discover heap-overflow flaws but does not prevent their introduction in code.

PR.PS-02 partial match
prevents

Timely patching removes known heap-overflow instances after they exist.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

detects

Security testing in development and acceptance can detect heap overflows before release.

prevents

Secure development lifecycle mandates practices that reduce the likelihood of introducing heap overflows.

prevents

Application security requirements can specify bounds-checking and safe memory APIs that mitigate heap overflows.

prevents

Secure architecture and engineering principles include memory-safety and input-validation controls that address heap overflows.

prevents

Secure coding standards directly prescribe techniques (safe functions, bounds checks) that prevent heap-based buffer overflows.

prevents

Change management can enforce review gates that catch unsafe memory operations before deployment.

References