Skip to content
Fencer Vulns
medium 6.5

CVE-2022-3165 json

An integer underflow issue was found in the QEMU VNC server while processing ClientCutText messages in the extended format.

published 2022-10-17 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-42588

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

Summary

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.

Patch / fix

  • qemu Debian 14, Debian 13, Debian 12 1:7.2+dfsg-1

debian advisories DEBIAN-CVE-2022-3165

  • qemu Ubuntu 22.04 LTS 1:6.2+dfsg-2ubuntu6.6

ubuntu advisories UBUNTU-CVE-2022-3165

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

  • SLOF RHEL 8 20210217-1.module+el8.8.0+16781+9f4724c2
  • hivex RHEL 8 1.3.18-23.module+el8.8.0+16781+9f4724c2
  • netcf RHEL 8 0.2.8-12.module+el8.8.0+16781+9f4724c2
  • swtpm RHEL 8 0.7.0-4.20211109gitb79fd91.module+el8.8.0+16781+9f4724c2
  • libnbd RHEL 8 1.6.0-5.module+el8.8.0+16781+9f4724c2
  • nbdkit RHEL 8 1.24.0-5.module+el8.8.0+17308+05924798
  • libtpms RHEL 8 0.9.1-2.20211126git1ff6fe1f43.module+el8.8.0+18453+e0bf0d1d
  • libvirt RHEL 8 8.0.0-19.module+el8.8.0+18453+e0bf0d1d

red hat advisories RHSA-2023:2757RHSA-2023:2162

  • qemu SLE Module for Server Applications 15 SP4, SLE Module for Basesystem 15 SP4, SLE Micro 5.3 +2 more 6.2.0-150400.37.11.1
  • qemu-testsuite openSUSE Leap 15.4 6.2.0-150400.37.11.2
  • qemu-linux-user openSUSE Leap 15.4 6.2.0-150400.37.11.1

suse advisories SUSE-SU-2023:0671-1

  • SLOF AlmaLinux 8 20210217-1.module_el8.6.0+2880+7d9e3703
  • hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+2880+7d9e3703
  • hivex AlmaLinux 8 1.3.18-23.module_el8.6.0+3161+a07c0ea5
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+2880+7d9e3703
  • netcf AlmaLinux 8 0.2.8-12.module_el8.6.0+3161+a07c0ea5
  • swtpm AlmaLinux 8 0.7.0-4.20211109gitb79fd91.module_el8.7.0+3346+68867adb
  • libnbd AlmaLinux 8 1.6.0-5.module_el8.6.0+2880+7d9e3703
  • libnbd AlmaLinux 8 1.6.0-5.module_el8.6.0+3161+a07c0ea5

almalinux advisories ALSA-2023:2757ALSA-2023:2162

  • hivex Rocky Linux 8 1.3.18-23.module+el8.10.0+1835+43f01cbb
  • hivex Rocky Linux 8 1.3.18-23.module+el8.10.0+1590+a67ab969
  • netcf Rocky Linux 8 0.2.8-12.module+el8.10.0+1590+a67ab969
  • netcf Rocky Linux 8 0.2.8-12.module+el8.10.0+1835+43f01cbb
  • swtpm Rocky Linux 8 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1835+43f01cbb
  • swtpm Rocky Linux 8 0.7.0-4.20211109gitb79fd91.module+el8.10.0+1590+a67ab969
  • libnbd Rocky Linux 8 1.6.0-5.module+el8.10.0+1835+43f01cbb
  • libnbd Rocky Linux 8 1.6.0-5.module+el8.10.0+1590+a67ab969

rocky linux advisories RLSA-2023:2757

  • qemu Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 7.1.0-r4

alpine advisories ALPINE-CVE-2022-3165

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • qemu CBL-Mariner 2.0 6.2.0-15
  • qemu Azure Linux 3.0 6.2.0-18

azure linux advisories AZL-11222AZL-35160

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-2022-3165 updated cvss 6.5

QEMU: VNC: integer underflow in vnc_client_cut_text_ext leads to CPU exhaustion

  • Red Hat Enterprise Linux AppStream (v. 8) libnbd 1.6.0-5.module+el8.8.0+16781+9f4724c2, netcf 0.2.8-12.module+el8.8.0+16781+9f4724c2, hivex 1.3.18-23.module+el8.8.0+16781+9f4724c2, nbdfuse 1.6.0-5.module+el8.8.0+16781+9f4724c2, nbdkit 1.24.0-5.module+el8.8.0+17308+05924798, SLOF 20210217-1.module+el8.8.0+16781+9f4724c2, +104 more
    fixed: vendor fix RHSA-2023:2757
  • Red Hat Enterprise Linux AppStream (v. 9) qemu-img 7.2.0-14.el9_2, qemu-kvm 7.2.0-14.el9_2, qemu-kvm-core 7.2.0-14.el9_2, qemu-kvm-tools 7.2.0-14.el9_2, qemu-pr-helper 7.2.0-14.el9_2, qemu-kvm-common 7.2.0-14.el9_2, +12 more
    fixed: vendor fix RHSA-2023:2162
  • Red Hat Enterprise Linux CRB (v. 8) libnbd 1.6.0-5.module+el8.8.0+16781+9f4724c2, netcf 0.2.8-12.module+el8.8.0+16781+9f4724c2, hivex 1.3.18-23.module+el8.8.0+16781+9f4724c2, nbdfuse 1.6.0-5.module+el8.8.0+16781+9f4724c2, SLOF 20210217-1.module+el8.8.0+16781+9f4724c2, libvirt 8.0.0-19.module+el8.8.0+18453+e0bf0d1d, +38 more
    fixed: vendor fix RHSA-2023:2757
  • 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 Advanced Virtualization qemu-img, qemu-kvm, qemu-kiwi, qemu-kvm-core, qemu-kvm-tests, qemu-kvm-common, +9 more Red Hat OpenStack Platform 13 (Queens) qemu-img-rhev, qemu-kvm-rhev, qemu-kvm-tools-rhev, qemu-kvm-common-rhev
    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
17 mo ago

Exploit prediction

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

CVSS scores

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

Affected products

  • n/a QEMU

Classification

Weakness
  • CWE-191 Integer Underflow (Wrap or Wraparound)

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.