Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2023-3354: QEMU VNC server can be crashed by remote client

CVE-2023-3354 · published 3 years ago
Summary

The built-in VNC service in QEMU may stop working if an unauthenticated user connects and triggers a connection cleanup during the handshake. This causes the program to try to use a missing reference, leading to a crash that stops the service. Apply the latest QEMU updates or patches to prevent the crash.

What to do
  • Update canonical qemu to version 1:4.2-3ubuntu6.28.
  • Update canonical qemu to version 1:6.2+dfsg-2ubuntu6.16.
  • Update debian qemu to version 1:7.2+dfsg-7+deb12u2.
  • Update debian qemu to version 1:8.0.4+dfsg-1.
  • Update qemu qemu to version 8.1.0 or later.
Affected software
Ecosystem VendorProductAffected versions
Ubuntu:Pro:18.04:LTS canonical qemu All versions
Ubuntu:20.04:LTS canonical qemu < 1:4.2-3ubuntu6.28
Fix: upgrade to 1:4.2-3ubuntu6.28
Ubuntu:22.04:LTS canonical qemu < 1:6.2+dfsg-2ubuntu6.16
Fix: upgrade to 1:6.2+dfsg-2ubuntu6.16
Debian:12 debian qemu < 1:7.2+dfsg-7+deb12u2
Fix: upgrade to 1:7.2+dfsg-7+deb12u2
Debian:13 debian qemu < 1:8.0.4+dfsg-1
Fix: upgrade to 1:8.0.4+dfsg-1
Debian:14 debian qemu < 1:8.0.4+dfsg-1
Fix: upgrade to 1:8.0.4+dfsg-1
– qemu qemu < 8.1.0
8.1.0
cpe:2.3:a:qemu:qemu:*:*:*:*:*:*:*:*
– redhat openstack_platform 13.0
cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:*
– redhat enterprise_linux 7.0
8.0
9.0
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
– fedoraproject fedora 38
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
Original advisory text
Improper i/o watch removal in tls handshake can lead to remote unauthenticated denial of service
A flaw was found in the QEMU built-in VNC server. When a client connects to the VNC server, QEMU checks whether the current number of connections crosses a certain threshold and if so, cleans up the previous connection. If the previous connection happens to be in the handshake phase and fails, QEMU cleans up the connection again, resulting in a NULL pointer dereference issue. This could allow a remote unauthenticated client to cause a denial of service.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
7.5 High
Exploitation
2% chance of attack within 30 days
Type
CWE-476NULL Pointer Dereference
Timeline
Published11 Jul 2023
Updated3 Nov 2026
First seen2 Jun 2026
Sources
CVE-2023-3354 · NVD
CVE-2023-3354 · OSV
Track software like this
Free during beta