CVE-2026-52722: Gstreamer1-plugins-bad-free: gstreamer: signed integer overflow in vmnc decoder cursor payload handling

Published Jun 9, 2026
·
Updated

A signed integer overflow vulnerability was found in GStreamer's VMnc decoder. A crafted VMnc stream with large cursor dimensions can overflow signed integer payload-size arithmetic, bypassing a length check and leading to out-of-bounds reads. A remote attacker could trick a user into opening a specially crafted VMnc file, potentially causing a crash or information disclosure.

Other sources

GStreamer VMnc decoder signed integer overflow vulnerability. In vmncdec.c (gst-plugins-bad), at line 408, the cursor payload size computation datalen += rect->width rect->height dec->format.bytesperpixel 2 uses signed 32-bit arithmetic. A crafted VMnc stream with large cursor dimensions (e.g., 65535 x 65535) overflows the signed multiplication to a negative value, causing datalen to become small or negative. The check if (len < datalen) then passes, gmalloc(size) allocates a tiny buffer, but the rendering loop in rendercolourcursor() uses the original large width/height values (dec->cursor.width = 65535) to iterate, reading far beyond the tiny allocated buffer into adjacent heap memory. Upstream confirmed by maintainer Sebastian Dröge (2026-06-02): "Confirmed, integer overflow that leads to OOB reads. Can lead to crashes or possibly information disclosure, and can be triggered from specially crafted files." Fix planned for GStreamer 1.28.4. Upstream issue: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/workitems/5107 (confidential). Reported via PSIRTSUPT-17026 by JUNYI LIU / Moss (moss80199).

Red Hat

Affected Software

1 affected component
GStreamer gst-plugins-bad (vmncdec)<1.28.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GStreamer 1.28.4 to a version that resolves this vulnerability.

    Fixed in 1.28.4
  2. Compensating control

    Mitigate the vulnerability by preventing users from opening specially crafted VMnc files (e.g., block or do not open untrusted .vmnc inputs / restrict VMnc file handling) until GStreamer 1.28.4 is deployed.

Event History

Jun 9, 2026
Data Sourced
via Red Hat·07:37 AM
DescriptionSeverityAffected Software
Jun 15, 2026
CVE Published
via MITRE·07:15 PM
Data Sourced
via MITRE·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-52722?

CVE-2026-52722 has a severity rating of 7.1 out of 10, indicating a high risk.

2

What is the nature of the vulnerability described in CVE-2026-52722?

CVE-2026-52722 is a signed integer overflow vulnerability in the VMnc decoder of GStreamer.

3

How can I fix CVE-2026-52722?

To mitigate CVE-2026-52722, users should update to the latest version of GStreamer that addresses this vulnerability.

4

What types of attacks could exploit CVE-2026-52722?

A remote attacker could exploit CVE-2026-52722 by tricking a user into opening a specially crafted VMnc stream.

5

What software is affected by CVE-2026-52722?

The vulnerable software impacted by CVE-2026-52722 is the GStreamer package, specifically gstreamer1-plugins-bad-free.

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