cve.bz

CVE-2022-3165 Integer Underflow (Wrap or Wraparound)

6.5 mediumEPSS 1.6%Fix available

Medium (6.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days.

On this page
An integer underflow issue was found in the QEMU VNC server while processing ClientCutText messages in the extended format. A malicious client could use this flaw to make QEMU unresponsive by sending a specially crafted payload message, resulting in a denial of service.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-191 Integer Underflow (Wrap or Wraparound)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-3165 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-3165?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-3165?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-3165 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
qemu:qemufrom 6.1.0 through 7.1.0
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14qemu1:7.2+dfsg-1DEBIAN-CVE-2022-3165
Ubuntu18.04:LTSqemu1:2.11+dfsg-1ubuntu7.41USN-5772-1
Ubuntu20.04:LTSqemu1:4.2-3ubuntu6.24USN-5772-1
Ubuntu22.04:LTSqemu1:6.2+dfsg-2ubuntu6.6UBUNTU-CVE-2022-3165 USN-5772-1
UbuntuPro:14.04:LTSqemu2.0.0+dfsg-2ubuntu1.47+esm2USN-5772-1
UbuntuPro:16.04:LTSqemu1:2.5+dfsg-5ubuntu10.51+esm1USN-5772-1
Red Hatenterprise_linux:8::appstreamhivex, perl-hivex, ruby-hivex and 7 more0:1.3.18-23.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamlibnbd, nbdfuse, libnbd-devel and 6 more0:1.6.0-5.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamlibtpms, libtpms-devel, libtpms-debuginfo and 1 more0:0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+18453+e0bf0d1dRHSA-2023:2757
Red Hatenterprise_linux:8::appstreamlibvirt, libvirt-nss, libvirt-docs and 48 more0:8.0.0-19.module+el8.8.0+18453+e0bf0d1dRHSA-2023:2757
Red Hatenterprise_linux:8::appstreamlibvirt-python, python3-libvirt, python3-libvirt-debuginfo and 1 more0:8.0.0-2.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamnbdkit, nbdkit-devel, nbdkit-server and 34 more0:1.24.0-5.module+el8.8.0+17308+05924798RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamqemu-img, qemu-kvm, qemu-kvm-core and 25 more15:6.2.0-32.module+el8.8.0+18361+9f407f6eRHSA-2023:2757
Red Hatenterprise_linux:8::appstreamseabios, seabios-bin, seavgabios-bin0:1.16.0-3.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamsgabios, sgabios-bin1:0.20170427git-3.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamsupermin, supermin-devel, supermin-debuginfo and 1 more0:5.2.1-2.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamswtpm, swtpm-libs, swtpm-devel and 6 more0:0.7.0-4.20211109gitb79fd91.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
Red Hatenterprise_linux:8::appstreamvirt-dib, libguestfs, lua-guestfs and 30 more1:1.44.0-9.module+el8.8.0+16781+9f4724c2RHSA-2023:2757
17 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Server Applications 15 SP4qemu6.2.0-150400.37.11.1SUSE-SU-2023:0671-1
openSUSELeap 15.4qemu, qemu-linux-user6.2.0-150400.37.11.1SUSE-SU-2023:0671-1
openSUSELeap 15.4qemu-testsuite6.2.0-150400.37.11.2SUSE-SU-2023:0671-1
openSUSELeap Micro 5.3qemu6.2.0-150400.37.11.1SUSE-SU-2023:0671-1
AlmaLinux8SLOF20210217-1.module_el8.6.0+2880+7d9e3703ALSA-2023:2757
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+2880+7d9e3703ALSA-2023:2757
AlmaLinux8hivex, perl-hivex, ruby-hivex and 4 more1.3.18-23.module_el8.6.0+3161+a07c0ea5ALSA-2023:2757
AlmaLinux8libguestfs-winsupport8.8-1.module_el8.8.0+3485+7cffc4a3ALSA-2023:2757
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+2880+7d9e3703ALSA-2023:2757
AlmaLinux8libiscsi, libiscsi-devel, libiscsi-utils1.18.0-8.module_el8.6.0+3161+a07c0ea5ALSA-2023:2757
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 3 more1.6.0-5.module_el8.6.0+3161+a07c0ea5ALSA-2023:2757
AlmaLinux8libnbd, nbdfuse, libnbd-devel and 4 more1.6.0-5.module_el8.6.0+2880+7d9e3703ALSA-2023:2757
AlmaLinux8libtpms, libtpms-devel0.9.1-2.20211126git1ff6fe1f43.module_el8.8.0+3553+bd08596bALSA-2023:2757
AlmaLinux8libvirt, libvirt-nss, libvirt-docs and 25 more8.0.0-19.module_el8.8.0+3553+bd08596bALSA-2023:2757
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+2880+7d9e3703ALSA-2023:2757
AlmaLinux8libvirt-dbus1.3.0-2.module_el8.6.0+3161+a07c0ea5ALSA-2023:2757
14 more for AlmaLinux in the JSON.
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1590+a67ab969RLSA-2023:2757
Rocky Linux8hivex0:1.3.18-23.module+el8.10.0+1835+43f01cbbRLSA-2023:2757
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1590+a67ab969.rockyRLSA-2023:2757
Rocky Linux8libguestfs1:1.44.0-9.module+el8.10.0+1835+43f01cbb.rocky.rockyRLSA-2023:2757
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1590+a67ab969RLSA-2023:2757
Rocky Linux8libiscsi0:1.18.0-8.module+el8.10.0+1835+43f01cbbRLSA-2023:2757
Rocky Linux8libnbd0:1.6.0-5.module+el8.10.0+1590+a67ab969RLSA-2023:2757
Rocky Linux8libnbd0:1.6.0-5.module+el8.10.0+1835+43f01cbbRLSA-2023:2757
Rocky Linux8libtpms0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1590+a67ab969RLSA-2023:2757
Rocky Linux8libtpms0:0.9.1-2.20211126git1ff6fe1f43.module+el8.10.0+1835+43f01cbbRLSA-2023:2757
Rocky Linux8libvirt-dbus0:1.3.0-2.module+el8.10.0+1590+a67ab969RLSA-2023:2757
Rocky Linux8libvirt-dbus0:1.3.0-2.module+el8.10.0+1835+43f01cbbRLSA-2023:2757
16 more for Rocky Linux in the JSON.
Alpinev3.17, v3.18, v3.19 and 5 moreqemu7.1.0-r4ALPINE-CVE-2022-3165
Azure Linux2qemu6.2.0-15AZL-11222
Azure Linux3qemu6.2.0-18AZL-35160

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux 6, 7 and RHEL Advanced Virtualization are not affected by this flaw as they did not include support for the extended clipboard pseudo-encoding (upstream commit 0bf41cab).

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8virt-devel:rhel-8080020230410211546.fd72936bFixed 2023-05-16RHSA-2023:2757
Red Hat Enterprise Linux 8virt:rhel-8080020230410211546.fd72936bFixed 2023-05-16RHSA-2023:2757
Red Hat Enterprise Linux 9qemu-kvm-17:7.2.0-14.el9_2Fixed 2023-05-09RHSA-2023:2162
Red Hat Enterprise Linux 6qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvmNot affected
Red Hat Enterprise Linux 7qemu-kvm-maNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:8.2/qemu-kvmNot affected
Red Hat Enterprise Linux 8 Advanced Virtualizationvirt:av/qemu-kvmNot affected
Red Hat OpenStack Platform 13 (Queens)qemu-kvm-rhevNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-3165.

References

Check your stackJSON