CVE-2023-3255 Qemu: vnc: infinite loop in inflate_buffer() leads to denial of service

Medium 6.5 Published Updated

A remote authenticated VNC client can trigger an infinite loop in QEMU's VNC server via crafted clipboard data, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3255?

CVE-2023-3255 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 13 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A flaw was found in the QEMU built-in VNC server while processing ClientCutText messages. A wrong exit condition may lead to an infinite loop when inflating an attacker controlled zlib buffer in the `inflate_buffer` function. This could allow a remote authenticated client who is able to send a clipboard to the VNC server to trigger a denial of service.

Weakness: CWE-835

Which versions are affected by CVE-2023-3255?

It affects 3 products.

Linux distribution packages (1)
qemu openSUSE:TumbleweedAll versions8.0.3-2.1

Products include Fedoraproject Fedora, Qemu Qemu, Redhat Enterprise Linux.

How do I fix CVE-2023-3255?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-3255 being exploited?

There is no known exploitation of CVE-2023-3255 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-28791, AZL-35169, BELL-CVE-2023-3255, DEBIAN-CVE-2023-3255, GHSA-p5xv-5g6h-qw33, OESA-2023-1785 and 4 more.

Is CVE-2023-3255 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free