CVE-2022-3165: Integer Underflow

Published Sep 26, 2022
·
Updated

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

[1] https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#extended-clipboard-pseudo-encoding

Other sources

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.

— Launchpad

Affected Software

16 affected componentsFixes available
redhat/qemu<7.2.0
7.2.0
Qemu Qemu>=6.1.0<=7.1.0
Fedoraproject Fedora=36
Fedoraproject Fedora=37
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
alpine/qemu>=6.1.0<7.1.0-r4
7.1.0-r4
debian/qemu<1:7.2+dfsg-1
1:7.2+dfsg-1
debian/qemu<1:7.2+dfsg-1
1:7.2+dfsg-1
debian/qemu<1:7.2+dfsg-1
1:7.2+dfsg-1
debian/qemu
1:7.2+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/qemu to a version that resolves this vulnerability.

    Fixed in 7.2.0
  2. Upgrade

    Upgrade alpine/qemu to a version that resolves this vulnerability.

    Fixed in 7.1.0-r4
  3. Upgrade

    Upgrade debian/qemu to a version that resolves this vulnerability.

    Fixed in 1:7.2+dfsg-1

Event History

Sep 26, 2022
Data Sourced
08:35 AM
DescriptionSeverityAffected Software
Oct 17, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
Remedy
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via OSV·04:15 PM
DescriptionAffected Software
Jan 20, 2023
Data Sourced
01:33 PM
Weakness
Jun 29, 2023
Data Sourced
via Red Hat·10:40 AM
DescriptionSeverityAffected Software
Nov 7, 2023
Data Sourced
via NVD·03:50 AM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
03:50 AM
Affected Software
Nov 21, 2024
Updated
via NVD·07:18 AM
RemedyAffected Software
Jun 17, 2026
Updated
via NVD·04:58 AM
SeverityAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:01 AM
Severity

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-3165.

2

What is the severity of CVE-2022-3165?

The severity of CVE-2022-3165 is medium with a CVSS score of 6.5.

3

What is the affected software for CVE-2022-3165?

The affected software for CVE-2022-3165 includes QEMU versions up to 7.1.0, Ubuntu QEMU versions 1:6.2+dfsg-2ubuntu6.6 and 1:7.0+dfsg-7ubuntu2.1, Red Hat QEMU version 7.2.0, Fedora versions 36 and 37, and Debian QEMU versions 1:3.1+dfsg-8+deb10u8, 1:3.1+dfsg-8+deb10u11, 1:5.2+dfsg-11+deb11u3, 1:5.2+dfsg-11+deb11u2, 1:7.2+dfsg-7+deb12u2, and 1:8.1.2+ds-1.

4

How can a malicious client exploit CVE-2022-3165?

A malicious client can exploit CVE-2022-3165 by sending a specially crafted payload message to the QEMU VNC server while processing ClientCutText messages in the extended format.

5

What is the remedy for CVE-2022-3165?

The remedy for CVE-2022-3165 is to update QEMU to the recommended versions: Ubuntu QEMU 1:6.2+dfsg-2ubuntu6.6 or 1:7.0+dfsg-7ubuntu2.1, Red Hat QEMU 7.2.0, or Debian QEMU 1:3.1+dfsg-8+deb10u8, 1:3.1+dfsg-8+deb10u11, 1:5.2+dfsg-11+deb11u3, 1:5.2+dfsg-11+deb11u2, 1:7.2+dfsg-7+deb12u2, or 1:8.1.2+ds-1.

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