CVE-2026-52720 Gstreamer1-plugins-bad-free: gstreamer: heap buffer overflow via crafted vnc server rectangle in librfb

High 8.8 Published Updated

A heap buffer overflow in GStreamer's librfb allows remote code execution or crashes via a malicious VNC server.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-52720?

CVE-2026-52720 is a high-severity memory corruption vulnerability in Red Hat Enterprise Linux 10, published on 15 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A heap buffer overflow vulnerability was found in GStreamer's librfb (RFB/VNC client). The rectangle bounds check incorrectly validates area rather than individual dimensions, allowing a malicious VNC server to send a rectangle that extends beyond the framebuffer. A remote attacker could set up a malicious VNC server and trick a user into connecting, resulting in an out-of-bounds heap write that could lead to code execution or a crash.

Weakness: CWE-122

Which versions are affected by CVE-2026-52720?

How do I fix CVE-2026-52720?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-52720 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-52720, ECHO-08db-101f-0369, GHSA-38vh-57p3-w3gw, UBUNTU-CVE-2026-52720.

Is CVE-2026-52720 in your software?

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

Check your SBOMs for free